Skip to content

Commit

Permalink
is this relevant?
Browse files Browse the repository at this point in the history
  • Loading branch information
KiaraGrouwstra committed Aug 13, 2017
1 parent d03d107 commit 4307195
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17942,6 +17942,7 @@ namespace ts {
const uninstantiatedType = checkExpressionWorker(<Expression>node, checkMode);
type = instantiateTypeWithSingleGenericCallSignature(<Expression>node, uninstantiatedType, checkMode);
}
// 6606: getTypeFromTypeNode? or is this about actual expressions? in that case just add function call syntax? check how it gets type for that?

if (isConstEnumObjectType(type)) {
// enum object type for const enums are only permitted in:
Expand Down

0 comments on commit 4307195

Please sign in to comment.