We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c531fcb commit 7dcdb82Copy full SHA for 7dcdb82
src/compiler/types.ts
@@ -411,7 +411,7 @@ namespace ts {
411
EmitHelperFlags = HasClassExtends | HasDecorators | HasParamDecorators | HasAsyncFunctions,
412
413
// Parsing context flags
414
- ContextFlags = DisallowInContext | YieldContext | DecoratorContext | AwaitContext,
+ ContextFlags = DisallowInContext | YieldContext | DecoratorContext | AwaitContext | JavaScriptFile,
415
416
// Exclude these flags when parsing a Type
417
TypeExcludesFlags = YieldContext | AwaitContext,
0 commit comments