@@ -4546,7 +4546,7 @@ declare interface ExportSpec {
45464546 */
45474547 hidden ?: boolean ;
45484548}
4549- type ExportedVariableInfo = string | ScopeInfo | VariableInfo ;
4549+ type ExportedVariableInfo = string | VariableInfo | ScopeInfo ;
45504550declare abstract class ExportsInfo {
45514551 get ownedExports ( ) : Iterable < ExportInfo > ;
45524552 get orderedOwnedExports ( ) : Iterable < ExportInfo > ;
@@ -6810,7 +6810,7 @@ declare class JavascriptParser extends Parser {
68106810 | undefined
68116811 | ( (
68126812 arg0 : string ,
6813- arg1 : string | ScopeInfo | VariableInfo ,
6813+ arg1 : string | VariableInfo | ScopeInfo ,
68146814 arg2 : ( ) => string [ ]
68156815 ) => any ) ,
68166816 defined : undefined | ( ( arg0 : string ) => any ) ,
@@ -7143,6 +7143,7 @@ declare class JavascriptParser extends Parser {
71437143 | ExportAllDeclarationJavascriptParser
71447144 | ImportExpressionJavascriptParser
71457145 ) => undefined | ImportAttributes ;
7146+ static VariableInfo : typeof VariableInfo ;
71467147}
71477148
71487149/**
@@ -13918,7 +13919,7 @@ declare interface RuntimeValueOptions {
1391813919 * to create the range of the _parent node_.
1391913920 */
1392013921declare interface ScopeInfo {
13921- definitions : StackedMap < string , ScopeInfo | VariableInfo > ;
13922+ definitions : StackedMap < string , VariableInfo | ScopeInfo > ;
1392213923 topLevelScope : boolean | "arrow" ;
1392313924 inShorthand : string | boolean ;
1392413925 inTaggedTemplateTag : boolean ;
@@ -15249,7 +15250,12 @@ type UsageStateType = 0 | 1 | 2 | 3 | 4;
1524915250type UsedName = string | false | string [ ] ;
1525015251type Value = string | number | boolean | RegExp ;
1525115252type ValueCacheVersion = string | Set < string > ;
15252- declare abstract class VariableInfo {
15253+ declare class VariableInfo {
15254+ constructor (
15255+ declaredScope : ScopeInfo ,
15256+ freeName ?: string | true ,
15257+ tagInfo ?: TagInfo
15258+ ) ;
1525315259 declaredScope : ScopeInfo ;
1525415260 freeName ?: string | true ;
1525515261 tagInfo ?: TagInfo ;
0 commit comments