mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Add JavaScriptFile to ContextFlags
(cherry picked from commit 6253c9b5cd6a8fa5e08bf88ddabdf0283ccf7007)
This commit is contained in:
parent
c531fcbb9a
commit
7dcdb827b6
@ -411,7 +411,7 @@ namespace ts {
|
||||
EmitHelperFlags = HasClassExtends | HasDecorators | HasParamDecorators | HasAsyncFunctions,
|
||||
|
||||
// Parsing context flags
|
||||
ContextFlags = DisallowInContext | YieldContext | DecoratorContext | AwaitContext,
|
||||
ContextFlags = DisallowInContext | YieldContext | DecoratorContext | AwaitContext | JavaScriptFile,
|
||||
|
||||
// Exclude these flags when parsing a Type
|
||||
TypeExcludesFlags = YieldContext | AwaitContext,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user