@histoire/vendors 1.0.0-alpha.1 → 1.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/client/b-floating-vue.js +1 -1
  2. package/dist/client/b-iconify.js +142 -255
  3. package/dist/client/b-pinia.js +3 -3
  4. package/dist/client/b-scroll.js +1 -1
  5. package/dist/client/b-vue-use.js +1200 -764
  6. package/dist/client/b-vue.js +1 -1
  7. package/dist/client/node_modules/@babel/helper-string-parser/package.json +1 -1
  8. package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +1 -1
  9. package/dist/client/node_modules/@babel/parser/package.json +7 -7
  10. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +137 -165
  11. package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +61 -40
  12. package/dist/client/node_modules/@babel/types/lib/index.d.ts +1691 -1658
  13. package/dist/client/node_modules/@babel/types/package.json +14 -14
  14. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +4 -1
  15. package/dist/client/node_modules/@floating-ui/core/package.json +2 -2
  16. package/dist/client/node_modules/@floating-ui/utils/package.json +1 -1
  17. package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +59 -6
  18. package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +9 -2
  19. package/dist/client/node_modules/@iconify/vue/package.json +14 -14
  20. package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +39 -47
  21. package/dist/client/node_modules/@vueuse/core/index.d.ts +486 -236
  22. package/dist/client/node_modules/@vueuse/core/package.json +18 -6
  23. package/dist/client/node_modules/@vueuse/metadata/package.json +11 -4
  24. package/dist/client/node_modules/@vueuse/shared/index.d.ts +50 -16
  25. package/dist/client/node_modules/@vueuse/shared/package.json +15 -3
  26. package/dist/client/node_modules/nanoid/package.json +3 -2
  27. package/dist/client/node_modules/pinia/dist/pinia.d.ts +1 -1
  28. package/dist/client/node_modules/pinia/package.json +1 -1
  29. package/dist/client/node_modules/postcss/lib/at-rule.d.ts +9 -9
  30. package/dist/client/node_modules/postcss/lib/comment.d.ts +7 -7
  31. package/dist/client/node_modules/postcss/lib/container.d.ts +52 -52
  32. package/dist/client/node_modules/postcss/lib/declaration.d.ts +9 -9
  33. package/dist/client/node_modules/postcss/lib/input.d.ts +38 -19
  34. package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +40 -40
  35. package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +5 -5
  36. package/dist/client/node_modules/postcss/lib/node.d.ts +25 -10
  37. package/dist/client/node_modules/postcss/lib/result.d.ts +10 -10
  38. package/dist/client/node_modules/postcss/lib/rule.d.ts +8 -8
  39. package/dist/client/node_modules/postcss/lib/stringifier.d.ts +2 -2
  40. package/dist/client/node_modules/postcss/package.json +4 -4
  41. package/dist/client/vue.runtime.esm-bundler.js +1 -1
  42. package/package.json +1 -1
  43. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +0 -49
  44. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +0 -8
  45. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +0 -15
  46. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +0 -6
  47. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/index.d.ts +0 -0
  48. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/v2/index.d.ts +0 -0
  49. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/v2.7/index.d.ts +0 -0
  50. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/v3/index.d.ts +0 -0
  51. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/package.json +0 -0
@@ -42,7 +42,7 @@ interface BaseNode {
42
42
  extra?: Record<string, unknown>;
43
43
  }
44
44
 
45
- export type Node = Accessor | AnyTypeAnnotation | ArgumentPlaceholder | ArrayExpression | ArrayPattern | ArrayTypeAnnotation | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | Binary | BinaryExpression | BindExpression | Block | BlockParent | BlockStatement | BooleanLiteral | BooleanLiteralTypeAnnotation | BooleanTypeAnnotation | BreakStatement | CallExpression | CatchClause | Class | ClassAccessorProperty | ClassBody | ClassDeclaration | ClassExpression | ClassImplements | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | CompletionStatement | Conditional | ConditionalExpression | ContinueStatement | DebuggerStatement | DecimalLiteral | Declaration | DeclareClass | DeclareExportAllDeclaration | DeclareExportDeclaration | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareOpaqueType | DeclareTypeAlias | DeclareVariable | DeclaredPredicate | Decorator | Directive | DirectiveLiteral | DoExpression | DoWhileStatement | EmptyStatement | EmptyTypeAnnotation | EnumBody | EnumBooleanBody | EnumBooleanMember | EnumDeclaration | EnumDefaultedMember | EnumMember | EnumNumberBody | EnumNumberMember | EnumStringBody | EnumStringMember | EnumSymbolBody | ExistsTypeAnnotation | ExportAllDeclaration | ExportDeclaration | ExportDefaultDeclaration | ExportDefaultSpecifier | ExportNamedDeclaration | ExportNamespaceSpecifier | ExportSpecifier | Expression | ExpressionStatement | ExpressionWrapper | File | Flow | FlowBaseAnnotation | FlowDeclaration | FlowPredicate | FlowType | For | ForInStatement | ForOfStatement | ForStatement | ForXStatement | Function | FunctionDeclaration | FunctionExpression | FunctionParent | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | Identifier | IfStatement | Immutable | Import | ImportAttribute | ImportDeclaration | ImportDefaultSpecifier | ImportExpression | ImportNamespaceSpecifier | ImportOrExportDeclaration | ImportSpecifier | IndexedAccessType | InferredPredicate | InterfaceDeclaration | InterfaceExtends | InterfaceTypeAnnotation | InterpreterDirective | IntersectionTypeAnnotation | JSX | JSXAttribute | JSXClosingElement | JSXClosingFragment | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXFragment | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXOpeningFragment | JSXSpreadAttribute | JSXSpreadChild | JSXText | LVal | LabeledStatement | Literal | LogicalExpression | Loop | MemberExpression | MetaProperty | Method | Miscellaneous | MixedTypeAnnotation | ModuleDeclaration | ModuleExpression | ModuleSpecifier | NewExpression | Noop | NullLiteral | NullLiteralTypeAnnotation | NullableTypeAnnotation | NumberLiteral | NumberLiteralTypeAnnotation | NumberTypeAnnotation | NumericLiteral | ObjectExpression | ObjectMember | ObjectMethod | ObjectPattern | ObjectProperty | ObjectTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalCallExpression | OptionalIndexedAccessType | OptionalMemberExpression | ParenthesizedExpression | Pattern | PatternLike | PipelineBareFunction | PipelinePrimaryTopicReference | PipelineTopicExpression | Placeholder | Private | PrivateName | Program | Property | Pureish | QualifiedTypeIdentifier | RecordExpression | RegExpLiteral | RegexLiteral | RestElement | RestProperty | ReturnStatement | Scopable | SequenceExpression | SpreadElement | SpreadProperty | Standardized | Statement | StaticBlock | StringLiteral | StringLiteralTypeAnnotation | StringTypeAnnotation | Super | SwitchCase | SwitchStatement | SymbolTypeAnnotation | TSAnyKeyword | TSArrayType | TSAsExpression | TSBaseType | TSBigIntKeyword | TSBooleanKeyword | TSCallSignatureDeclaration | TSConditionalType | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSEntityName | TSEnumBody | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExpressionWithTypeArguments | TSExternalModuleReference | TSFunctionType | TSImportEqualsDeclaration | TSImportType | TSIndexSignature | TSIndexedAccessType | TSInferType | TSInstantiationExpression | TSInterfaceBody | TSInterfaceDeclaration | TSIntersectionType | TSIntrinsicKeyword | TSLiteralType | TSMappedType | TSMethodSignature | TSModuleBlock | TSModuleDeclaration | TSNamedTupleMember | TSNamespaceExportDeclaration | TSNeverKeyword | TSNonNullExpression | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSParameterProperty | TSParenthesizedType | TSPropertySignature | TSQualifiedName | TSRestType | TSSatisfiesExpression | TSStringKeyword | TSSymbolKeyword | TSThisType | TSTupleType | TSType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeElement | TSTypeLiteral | TSTypeOperator | TSTypeParameter | TSTypeParameterDeclaration | TSTypeParameterInstantiation | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword | TaggedTemplateExpression | TemplateElement | TemplateLiteral | Terminatorless | ThisExpression | ThisTypeAnnotation | ThrowStatement | TopicReference | TryStatement | TupleExpression | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | TypeScript | TypeofTypeAnnotation | UnaryExpression | UnaryLike | UnionTypeAnnotation | UpdateExpression | UserWhitespacable | V8IntrinsicIdentifier | VariableDeclaration | VariableDeclarator | Variance | VoidTypeAnnotation | While | WhileStatement | WithStatement | YieldExpression;
45
+ export type Node = Accessor | AnyTypeAnnotation | ArgumentPlaceholder | ArrayExpression | ArrayPattern | ArrayTypeAnnotation | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | AwaitExpression | BigIntLiteral | Binary | BinaryExpression | BindExpression | Block | BlockParent | BlockStatement | BooleanLiteral | BooleanLiteralTypeAnnotation | BooleanTypeAnnotation | BreakStatement | CallExpression | CatchClause | Class | ClassAccessorProperty | ClassBody | ClassDeclaration | ClassExpression | ClassImplements | ClassMethod | ClassPrivateMethod | ClassPrivateProperty | ClassProperty | CompletionStatement | Conditional | ConditionalExpression | ContinueStatement | DebuggerStatement | DecimalLiteral | Declaration | DeclareClass | DeclareExportAllDeclaration | DeclareExportDeclaration | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareOpaqueType | DeclareTypeAlias | DeclareVariable | DeclaredPredicate | Decorator | Directive | DirectiveLiteral | DoExpression | DoWhileStatement | EmptyStatement | EmptyTypeAnnotation | EnumBody | EnumBooleanBody | EnumBooleanMember | EnumDeclaration | EnumDefaultedMember | EnumMember | EnumNumberBody | EnumNumberMember | EnumStringBody | EnumStringMember | EnumSymbolBody | ExistsTypeAnnotation | ExportAllDeclaration | ExportDeclaration | ExportDefaultDeclaration | ExportDefaultSpecifier | ExportNamedDeclaration | ExportNamespaceSpecifier | ExportSpecifier | Expression | ExpressionStatement | ExpressionWrapper | File | Flow | FlowBaseAnnotation | FlowDeclaration | FlowPredicate | FlowType | For | ForInStatement | ForOfStatement | ForStatement | ForXStatement | Function | FunctionDeclaration | FunctionExpression | FunctionParameter | FunctionParent | FunctionTypeAnnotation | FunctionTypeParam | GenericTypeAnnotation | Identifier | IfStatement | Immutable | Import | ImportAttribute | ImportDeclaration | ImportDefaultSpecifier | ImportExpression | ImportNamespaceSpecifier | ImportOrExportDeclaration | ImportSpecifier | IndexedAccessType | InferredPredicate | InterfaceDeclaration | InterfaceExtends | InterfaceTypeAnnotation | InterpreterDirective | IntersectionTypeAnnotation | JSX | JSXAttribute | JSXClosingElement | JSXClosingFragment | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXFragment | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXOpeningFragment | JSXSpreadAttribute | JSXSpreadChild | JSXText | LVal | LabeledStatement | Literal | LogicalExpression | Loop | MemberExpression | MetaProperty | Method | Miscellaneous | MixedTypeAnnotation | ModuleDeclaration | ModuleExpression | ModuleSpecifier | NewExpression | Noop | NullLiteral | NullLiteralTypeAnnotation | NullableTypeAnnotation | NumberLiteral | NumberLiteralTypeAnnotation | NumberTypeAnnotation | NumericLiteral | ObjectExpression | ObjectMember | ObjectMethod | ObjectPattern | ObjectProperty | ObjectTypeAnnotation | ObjectTypeCallProperty | ObjectTypeIndexer | ObjectTypeInternalSlot | ObjectTypeProperty | ObjectTypeSpreadProperty | OpaqueType | OptionalCallExpression | OptionalIndexedAccessType | OptionalMemberExpression | ParenthesizedExpression | Pattern | PatternLike | PipelineBareFunction | PipelinePrimaryTopicReference | PipelineTopicExpression | Placeholder | Private | PrivateName | Program | Property | Pureish | QualifiedTypeIdentifier | RecordExpression | RegExpLiteral | RegexLiteral | RestElement | RestProperty | ReturnStatement | Scopable | SequenceExpression | SpreadElement | SpreadProperty | Standardized | Statement | StaticBlock | StringLiteral | StringLiteralTypeAnnotation | StringTypeAnnotation | Super | SwitchCase | SwitchStatement | SymbolTypeAnnotation | TSAnyKeyword | TSArrayType | TSAsExpression | TSBaseType | TSBigIntKeyword | TSBooleanKeyword | TSCallSignatureDeclaration | TSConditionalType | TSConstructSignatureDeclaration | TSConstructorType | TSDeclareFunction | TSDeclareMethod | TSEntityName | TSEnumBody | TSEnumDeclaration | TSEnumMember | TSExportAssignment | TSExpressionWithTypeArguments | TSExternalModuleReference | TSFunctionType | TSImportEqualsDeclaration | TSImportType | TSIndexSignature | TSIndexedAccessType | TSInferType | TSInstantiationExpression | TSInterfaceBody | TSInterfaceDeclaration | TSIntersectionType | TSIntrinsicKeyword | TSLiteralType | TSMappedType | TSMethodSignature | TSModuleBlock | TSModuleDeclaration | TSNamedTupleMember | TSNamespaceExportDeclaration | TSNeverKeyword | TSNonNullExpression | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSParameterProperty | TSParenthesizedType | TSPropertySignature | TSQualifiedName | TSRestType | TSSatisfiesExpression | TSStringKeyword | TSSymbolKeyword | TSTemplateLiteralType | TSThisType | TSTupleType | TSType | TSTypeAliasDeclaration | TSTypeAnnotation | TSTypeAssertion | TSTypeElement | TSTypeLiteral | TSTypeOperator | TSTypeParameter | TSTypeParameterDeclaration | TSTypeParameterInstantiation | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword | TaggedTemplateExpression | TemplateElement | TemplateLiteral | Terminatorless | ThisExpression | ThisTypeAnnotation | ThrowStatement | TopicReference | TryStatement | TupleExpression | TupleTypeAnnotation | TypeAlias | TypeAnnotation | TypeCastExpression | TypeParameter | TypeParameterDeclaration | TypeParameterInstantiation | TypeScript | TypeofTypeAnnotation | UnaryExpression | UnaryLike | UnionTypeAnnotation | UpdateExpression | UserWhitespacable | V8IntrinsicIdentifier | VariableDeclaration | VariableDeclarator | Variance | VoidPattern | VoidTypeAnnotation | While | WhileStatement | WithStatement | YieldExpression;
46
46
 
47
47
  export interface ArrayExpression extends BaseNode {
48
48
  type: "ArrayExpression";
@@ -160,7 +160,7 @@ export interface ForStatement extends BaseNode {
160
160
  export interface FunctionDeclaration extends BaseNode {
161
161
  type: "FunctionDeclaration";
162
162
  id: Identifier | null;
163
- params: Array<Identifier | Pattern | RestElement>;
163
+ params: Array<FunctionParameter>;
164
164
  body: BlockStatement;
165
165
  generator: boolean;
166
166
  async: boolean;
@@ -173,7 +173,7 @@ export interface FunctionDeclaration extends BaseNode {
173
173
  export interface FunctionExpression extends BaseNode {
174
174
  type: "FunctionExpression";
175
175
  id: Identifier | null;
176
- params: Array<Identifier | Pattern | RestElement>;
176
+ params: Array<FunctionParameter>;
177
177
  body: BlockStatement;
178
178
  generator: boolean;
179
179
  async: boolean;
@@ -269,7 +269,7 @@ export interface ObjectMethod extends BaseNode {
269
269
  type: "ObjectMethod";
270
270
  kind: "method" | "get" | "set";
271
271
  key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral;
272
- params: Array<Identifier | Pattern | RestElement>;
272
+ params: Array<FunctionParameter>;
273
273
  body: BlockStatement;
274
274
  computed: boolean;
275
275
  generator: boolean;
@@ -290,7 +290,7 @@ export interface ObjectProperty extends BaseNode {
290
290
 
291
291
  export interface RestElement extends BaseNode {
292
292
  type: "RestElement";
293
- argument: LVal;
293
+ argument: Identifier | ArrayPattern | ObjectPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression | RestElement | AssignmentPattern;
294
294
  decorators: Array<Decorator> | null;
295
295
  optional: boolean | null;
296
296
  typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null;
@@ -362,7 +362,7 @@ export interface VariableDeclaration extends BaseNode {
362
362
 
363
363
  export interface VariableDeclarator extends BaseNode {
364
364
  type: "VariableDeclarator";
365
- id: LVal;
365
+ id: LVal | VoidPattern;
366
366
  init: Expression | null;
367
367
  definite: boolean | null;
368
368
  }
@@ -390,7 +390,7 @@ export interface AssignmentPattern extends BaseNode {
390
390
 
391
391
  export interface ArrayPattern extends BaseNode {
392
392
  type: "ArrayPattern";
393
- elements: Array<null | PatternLike | LVal>;
393
+ elements: Array<null | PatternLike>;
394
394
  decorators: Array<Decorator> | null;
395
395
  optional: boolean | null;
396
396
  typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null;
@@ -398,7 +398,7 @@ export interface ArrayPattern extends BaseNode {
398
398
 
399
399
  export interface ArrowFunctionExpression extends BaseNode {
400
400
  type: "ArrowFunctionExpression";
401
- params: Array<Identifier | Pattern | RestElement>;
401
+ params: Array<FunctionParameter>;
402
402
  body: BlockStatement | Expression;
403
403
  async: boolean;
404
404
  expression: boolean;
@@ -523,7 +523,7 @@ export interface ClassMethod extends BaseNode {
523
523
  type: "ClassMethod";
524
524
  kind: "get" | "set" | "method" | "constructor";
525
525
  key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression;
526
- params: Array<Identifier | Pattern | RestElement | TSParameterProperty>;
526
+ params: Array<FunctionParameter | TSParameterProperty>;
527
527
  body: BlockStatement;
528
528
  computed: boolean;
529
529
  static: boolean;
@@ -660,6 +660,7 @@ export interface ClassPrivateProperty extends BaseNode {
660
660
  decorators: Array<Decorator> | null;
661
661
  static: boolean;
662
662
  definite: boolean | null;
663
+ optional: boolean | null;
663
664
  readonly: boolean | null;
664
665
  typeAnnotation: TypeAnnotation | TSTypeAnnotation | Noop | null;
665
666
  variance: Variance | null;
@@ -669,7 +670,7 @@ export interface ClassPrivateMethod extends BaseNode {
669
670
  type: "ClassPrivateMethod";
670
671
  kind: "get" | "set" | "method";
671
672
  key: PrivateName;
672
- params: Array<Identifier | Pattern | RestElement | TSParameterProperty>;
673
+ params: Array<FunctionParameter | TSParameterProperty>;
673
674
  body: BlockStatement;
674
675
  static: boolean;
675
676
  abstract: boolean | null;
@@ -695,6 +696,12 @@ export interface StaticBlock extends BaseNode {
695
696
  body: Array<Statement>;
696
697
  }
697
698
 
699
+ export interface ImportAttribute extends BaseNode {
700
+ type: "ImportAttribute";
701
+ key: Identifier | StringLiteral;
702
+ value: StringLiteral;
703
+ }
704
+
698
705
  export interface AnyTypeAnnotation extends BaseNode {
699
706
  type: "AnyTypeAnnotation";
700
707
  }
@@ -1202,12 +1209,6 @@ export interface BindExpression extends BaseNode {
1202
1209
  callee: Expression;
1203
1210
  }
1204
1211
 
1205
- export interface ImportAttribute extends BaseNode {
1206
- type: "ImportAttribute";
1207
- key: Identifier | StringLiteral;
1208
- value: StringLiteral;
1209
- }
1210
-
1211
1212
  export interface Decorator extends BaseNode {
1212
1213
  type: "Decorator";
1213
1214
  expression: Expression;
@@ -1262,6 +1263,10 @@ export interface PipelinePrimaryTopicReference extends BaseNode {
1262
1263
  type: "PipelinePrimaryTopicReference";
1263
1264
  }
1264
1265
 
1266
+ export interface VoidPattern extends BaseNode {
1267
+ type: "VoidPattern";
1268
+ }
1269
+
1265
1270
  export interface TSParameterProperty extends BaseNode {
1266
1271
  type: "TSParameterProperty";
1267
1272
  parameter: Identifier | AssignmentPattern;
@@ -1275,7 +1280,7 @@ export interface TSDeclareFunction extends BaseNode {
1275
1280
  type: "TSDeclareFunction";
1276
1281
  id: Identifier | null;
1277
1282
  typeParameters: TSTypeParameterDeclaration | Noop | null;
1278
- params: Array<Identifier | Pattern | RestElement>;
1283
+ params: Array<FunctionParameter>;
1279
1284
  returnType: TSTypeAnnotation | Noop | null;
1280
1285
  async: boolean;
1281
1286
  declare: boolean | null;
@@ -1287,7 +1292,7 @@ export interface TSDeclareMethod extends BaseNode {
1287
1292
  decorators: Array<Decorator> | null;
1288
1293
  key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression;
1289
1294
  typeParameters: TSTypeParameterDeclaration | Noop | null;
1290
- params: Array<Identifier | Pattern | RestElement | TSParameterProperty>;
1295
+ params: Array<FunctionParameter | TSParameterProperty>;
1291
1296
  returnType: TSTypeAnnotation | Noop | null;
1292
1297
  abstract: boolean | null;
1293
1298
  access: "public" | "private" | "protected" | null;
@@ -1326,7 +1331,7 @@ export interface TSPropertySignature extends BaseNode {
1326
1331
  key: Expression;
1327
1332
  typeAnnotation: TSTypeAnnotation | null;
1328
1333
  computed: boolean;
1329
- kind: "get" | "set";
1334
+ kind: "get" | "set" | null;
1330
1335
  optional: boolean | null;
1331
1336
  readonly: boolean | null;
1332
1337
  }
@@ -1521,6 +1526,12 @@ export interface TSMappedType extends BaseNode {
1521
1526
  readonly: true | false | "+" | "-" | null;
1522
1527
  }
1523
1528
 
1529
+ export interface TSTemplateLiteralType extends BaseNode {
1530
+ type: "TSTemplateLiteralType";
1531
+ quasis: Array<TemplateElement>;
1532
+ types: Array<TSType>;
1533
+ }
1534
+
1524
1535
  export interface TSLiteralType extends BaseNode {
1525
1536
  type: "TSLiteralType";
1526
1537
  literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | TemplateLiteral | UnaryExpression;
@@ -1618,7 +1629,7 @@ export interface TSImportType extends BaseNode {
1618
1629
  argument: StringLiteral;
1619
1630
  qualifier: TSEntityName | null;
1620
1631
  typeParameters: TSTypeParameterInstantiation | null;
1621
- options: Expression | null;
1632
+ options: ObjectExpression | null;
1622
1633
  }
1623
1634
 
1624
1635
  export interface TSImportEqualsDeclaration extends BaseNode {
@@ -1694,7 +1705,7 @@ export type RestProperty = RestElement;
1694
1705
  */
1695
1706
  export type SpreadProperty = SpreadElement;
1696
1707
 
1697
- export type Standardized = ArrayExpression | AssignmentExpression | BinaryExpression | InterpreterDirective | Directive | DirectiveLiteral | BlockStatement | BreakStatement | CallExpression | CatchClause | ConditionalExpression | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | File | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Identifier | IfStatement | LabeledStatement | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | Program | ObjectExpression | ObjectMethod | ObjectProperty | RestElement | ReturnStatement | SequenceExpression | ParenthesizedExpression | SwitchCase | SwitchStatement | ThisExpression | ThrowStatement | TryStatement | UnaryExpression | UpdateExpression | VariableDeclaration | VariableDeclarator | WhileStatement | WithStatement | AssignmentPattern | ArrayPattern | ArrowFunctionExpression | ClassBody | ClassExpression | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ExportSpecifier | ForOfStatement | ImportDeclaration | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | ImportExpression | MetaProperty | ClassMethod | ObjectPattern | SpreadElement | Super | TaggedTemplateExpression | TemplateElement | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | ExportNamespaceSpecifier | OptionalMemberExpression | OptionalCallExpression | ClassProperty | ClassAccessorProperty | ClassPrivateProperty | ClassPrivateMethod | PrivateName | StaticBlock;
1708
+ export type Standardized = ArrayExpression | AssignmentExpression | BinaryExpression | InterpreterDirective | Directive | DirectiveLiteral | BlockStatement | BreakStatement | CallExpression | CatchClause | ConditionalExpression | ContinueStatement | DebuggerStatement | DoWhileStatement | EmptyStatement | ExpressionStatement | File | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Identifier | IfStatement | LabeledStatement | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | Program | ObjectExpression | ObjectMethod | ObjectProperty | RestElement | ReturnStatement | SequenceExpression | ParenthesizedExpression | SwitchCase | SwitchStatement | ThisExpression | ThrowStatement | TryStatement | UnaryExpression | UpdateExpression | VariableDeclaration | VariableDeclarator | WhileStatement | WithStatement | AssignmentPattern | ArrayPattern | ArrowFunctionExpression | ClassBody | ClassExpression | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ExportSpecifier | ForOfStatement | ImportDeclaration | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportSpecifier | ImportExpression | MetaProperty | ClassMethod | ObjectPattern | SpreadElement | Super | TaggedTemplateExpression | TemplateElement | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | ExportNamespaceSpecifier | OptionalMemberExpression | OptionalCallExpression | ClassProperty | ClassAccessorProperty | ClassPrivateProperty | ClassPrivateMethod | PrivateName | StaticBlock | ImportAttribute;
1698
1709
  export type Expression = ArrayExpression | AssignmentExpression | BinaryExpression | CallExpression | ConditionalExpression | FunctionExpression | Identifier | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | LogicalExpression | MemberExpression | NewExpression | ObjectExpression | SequenceExpression | ParenthesizedExpression | ThisExpression | UnaryExpression | UpdateExpression | ArrowFunctionExpression | ClassExpression | ImportExpression | MetaProperty | Super | TaggedTemplateExpression | TemplateLiteral | YieldExpression | AwaitExpression | Import | BigIntLiteral | OptionalMemberExpression | OptionalCallExpression | TypeCastExpression | JSXElement | JSXFragment | BindExpression | DoExpression | RecordExpression | TupleExpression | DecimalLiteral | ModuleExpression | TopicReference | PipelineTopicExpression | PipelineBareFunction | PipelinePrimaryTopicReference | TSInstantiationExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression;
1699
1710
  export type Binary = BinaryExpression | LogicalExpression;
1700
1711
  export type Scopable = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ClassExpression | ClassDeclaration | ForOfStatement | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock;
@@ -1712,8 +1723,9 @@ export type ForXStatement = ForInStatement | ForOfStatement;
1712
1723
  export type Function = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod;
1713
1724
  export type FunctionParent = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock;
1714
1725
  export type Pureish = FunctionDeclaration | FunctionExpression | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | ArrowFunctionExpression | BigIntLiteral | DecimalLiteral;
1715
- export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration;
1716
- export type PatternLike = Identifier | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression;
1726
+ export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration | TSImportEqualsDeclaration;
1727
+ export type FunctionParameter = Identifier | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | VoidPattern;
1728
+ export type PatternLike = Identifier | MemberExpression | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | VoidPattern | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression;
1717
1729
  export type LVal = Identifier | MemberExpression | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSParameterProperty | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression;
1718
1730
  export type TSEntityName = Identifier | TSQualifiedName;
1719
1731
  export type Literal = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | TemplateLiteral | BigIntLiteral | DecimalLiteral;
@@ -1723,7 +1735,7 @@ export type Method = ObjectMethod | ClassMethod | ClassPrivateMethod;
1723
1735
  export type ObjectMember = ObjectMethod | ObjectProperty;
1724
1736
  export type Property = ObjectProperty | ClassProperty | ClassAccessorProperty | ClassPrivateProperty;
1725
1737
  export type UnaryLike = UnaryExpression | SpreadElement;
1726
- export type Pattern = AssignmentPattern | ArrayPattern | ObjectPattern;
1738
+ export type Pattern = AssignmentPattern | ArrayPattern | ObjectPattern | VoidPattern;
1727
1739
  export type Class = ClassExpression | ClassDeclaration;
1728
1740
  export type ImportOrExportDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration;
1729
1741
  export type ExportDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration;
@@ -1739,10 +1751,10 @@ export type EnumBody = EnumBooleanBody | EnumNumberBody | EnumStringBody | EnumS
1739
1751
  export type EnumMember = EnumBooleanMember | EnumNumberMember | EnumStringMember | EnumDefaultedMember;
1740
1752
  export type JSX = JSXAttribute | JSXClosingElement | JSXElement | JSXEmptyExpression | JSXExpressionContainer | JSXSpreadChild | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXSpreadAttribute | JSXText | JSXFragment | JSXOpeningFragment | JSXClosingFragment;
1741
1753
  export type Miscellaneous = Noop | Placeholder | V8IntrinsicIdentifier;
1742
- export type TypeScript = TSParameterProperty | TSDeclareFunction | TSDeclareMethod | TSQualifiedName | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature | TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSNamedTupleMember | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSLiteralType | TSExpressionWithTypeArguments | TSInterfaceDeclaration | TSInterfaceBody | TSTypeAliasDeclaration | TSInstantiationExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSEnumBody | TSEnumDeclaration | TSEnumMember | TSModuleDeclaration | TSModuleBlock | TSImportType | TSImportEqualsDeclaration | TSExternalModuleReference | TSNonNullExpression | TSExportAssignment | TSNamespaceExportDeclaration | TSTypeAnnotation | TSTypeParameterInstantiation | TSTypeParameterDeclaration | TSTypeParameter;
1754
+ export type TypeScript = TSParameterProperty | TSDeclareFunction | TSDeclareMethod | TSQualifiedName | TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature | TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSNamedTupleMember | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSTemplateLiteralType | TSLiteralType | TSExpressionWithTypeArguments | TSInterfaceDeclaration | TSInterfaceBody | TSTypeAliasDeclaration | TSInstantiationExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSEnumBody | TSEnumDeclaration | TSEnumMember | TSModuleDeclaration | TSModuleBlock | TSImportType | TSImportEqualsDeclaration | TSExternalModuleReference | TSNonNullExpression | TSExportAssignment | TSNamespaceExportDeclaration | TSTypeAnnotation | TSTypeParameterInstantiation | TSTypeParameterDeclaration | TSTypeParameter;
1743
1755
  export type TSTypeElement = TSCallSignatureDeclaration | TSConstructSignatureDeclaration | TSPropertySignature | TSMethodSignature | TSIndexSignature;
1744
- export type TSType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSLiteralType | TSExpressionWithTypeArguments | TSImportType;
1745
- export type TSBaseType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSLiteralType;
1756
+ export type TSType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSFunctionType | TSConstructorType | TSTypeReference | TSTypePredicate | TSTypeQuery | TSTypeLiteral | TSArrayType | TSTupleType | TSOptionalType | TSRestType | TSUnionType | TSIntersectionType | TSConditionalType | TSInferType | TSParenthesizedType | TSTypeOperator | TSIndexedAccessType | TSMappedType | TSTemplateLiteralType | TSLiteralType | TSExpressionWithTypeArguments | TSImportType;
1757
+ export type TSBaseType = TSAnyKeyword | TSBooleanKeyword | TSBigIntKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSThisType | TSTemplateLiteralType | TSLiteralType;
1746
1758
  export type ModuleDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration;
1747
1759
 
1748
1760
  export interface Aliases {
@@ -1765,6 +1777,7 @@ export interface Aliases {
1765
1777
  FunctionParent: FunctionParent;
1766
1778
  Pureish: Pureish;
1767
1779
  Declaration: Declaration;
1780
+ FunctionParameter: FunctionParameter;
1768
1781
  PatternLike: PatternLike;
1769
1782
  LVal: LVal;
1770
1783
  TSEntityName: TSEntityName;
@@ -1817,8 +1830,8 @@ export function expressionStatement(expression: Expression): ExpressionStatement
1817
1830
  export function file(program: Program, comments?: Array<CommentBlock | CommentLine> | null, tokens?: Array<any> | null): File;
1818
1831
  export function forInStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement): ForInStatement;
1819
1832
  export function forStatement(init: VariableDeclaration | Expression | null | undefined, test: Expression | null | undefined, update: Expression | null | undefined, body: Statement): ForStatement;
1820
- export function functionDeclaration(id: Identifier | null | undefined, params: Array<Identifier | Pattern | RestElement>, body: BlockStatement, generator?: boolean, async?: boolean): FunctionDeclaration;
1821
- export function functionExpression(id: Identifier | null | undefined, params: Array<Identifier | Pattern | RestElement>, body: BlockStatement, generator?: boolean, async?: boolean): FunctionExpression;
1833
+ export function functionDeclaration(id: Identifier | null | undefined, params: Array<FunctionParameter>, body: BlockStatement, generator?: boolean, async?: boolean): FunctionDeclaration;
1834
+ export function functionExpression(id: Identifier | null | undefined, params: Array<FunctionParameter>, body: BlockStatement, generator?: boolean, async?: boolean): FunctionExpression;
1822
1835
  export function identifier(name: string): Identifier;
1823
1836
  export function ifStatement(test: Expression, consequent: Statement, alternate?: Statement | null): IfStatement;
1824
1837
  export function labeledStatement(label: Identifier, body: Statement): LabeledStatement;
@@ -1832,9 +1845,9 @@ export function memberExpression(object: Expression | Super, property: Expressio
1832
1845
  export function newExpression(callee: Expression | Super | V8IntrinsicIdentifier, _arguments: Array<Expression | SpreadElement | ArgumentPlaceholder>): NewExpression;
1833
1846
  export function program(body: Array<Statement>, directives?: Array<Directive>, sourceType?: "script" | "module", interpreter?: InterpreterDirective | null): Program;
1834
1847
  export function objectExpression(properties: Array<ObjectMethod | ObjectProperty | SpreadElement>): ObjectExpression;
1835
- export function objectMethod(kind: "method" | "get" | "set" | undefined, key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral, params: Array<Identifier | Pattern | RestElement>, body: BlockStatement, computed?: boolean, generator?: boolean, async?: boolean): ObjectMethod;
1848
+ export function objectMethod(kind: "method" | "get" | "set" | undefined, key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral, params: Array<FunctionParameter>, body: BlockStatement, computed?: boolean, generator?: boolean, async?: boolean): ObjectMethod;
1836
1849
  export function objectProperty(key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral | DecimalLiteral | PrivateName, value: Expression | PatternLike, computed?: boolean, shorthand?: boolean, decorators?: Array<Decorator> | null): ObjectProperty;
1837
- export function restElement(argument: LVal): RestElement;
1850
+ export function restElement(argument: Identifier | ArrayPattern | ObjectPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression | RestElement | AssignmentPattern): RestElement;
1838
1851
  export function returnStatement(argument?: Expression | null): ReturnStatement;
1839
1852
  export function sequenceExpression(expressions: Array<Expression>): SequenceExpression;
1840
1853
  export function parenthesizedExpression(expression: Expression): ParenthesizedExpression;
@@ -1846,12 +1859,12 @@ export function tryStatement(block: BlockStatement, handler?: CatchClause | null
1846
1859
  export function unaryExpression(operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof", argument: Expression, prefix?: boolean): UnaryExpression;
1847
1860
  export function updateExpression(operator: "++" | "--", argument: Expression, prefix?: boolean): UpdateExpression;
1848
1861
  export function variableDeclaration(kind: "var" | "let" | "const" | "using" | "await using", declarations: Array<VariableDeclarator>): VariableDeclaration;
1849
- export function variableDeclarator(id: LVal, init?: Expression | null): VariableDeclarator;
1862
+ export function variableDeclarator(id: LVal | VoidPattern, init?: Expression | null): VariableDeclarator;
1850
1863
  export function whileStatement(test: Expression, body: Statement): WhileStatement;
1851
1864
  export function withStatement(object: Expression, body: Statement): WithStatement;
1852
1865
  export function assignmentPattern(left: Identifier | ObjectPattern | ArrayPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression, right: Expression): AssignmentPattern;
1853
- export function arrayPattern(elements: Array<null | PatternLike | LVal>): ArrayPattern;
1854
- export function arrowFunctionExpression(params: Array<Identifier | Pattern | RestElement>, body: BlockStatement | Expression, async?: boolean): ArrowFunctionExpression;
1866
+ export function arrayPattern(elements: Array<null | PatternLike>): ArrayPattern;
1867
+ export function arrowFunctionExpression(params: Array<FunctionParameter>, body: BlockStatement | Expression, async?: boolean): ArrowFunctionExpression;
1855
1868
  export function classBody(body: Array<ClassMethod | ClassPrivateMethod | ClassProperty | ClassPrivateProperty | ClassAccessorProperty | TSDeclareMethod | TSIndexSignature | StaticBlock>): ClassBody;
1856
1869
  export function classExpression(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassExpression;
1857
1870
  export function classDeclaration(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassDeclaration;
@@ -1866,7 +1879,7 @@ export function importNamespaceSpecifier(local: Identifier): ImportNamespaceSpec
1866
1879
  export function importSpecifier(local: Identifier, imported: Identifier | StringLiteral): ImportSpecifier;
1867
1880
  export function importExpression(source: Expression, options?: Expression | null): ImportExpression;
1868
1881
  export function metaProperty(meta: Identifier, property: Identifier): MetaProperty;
1869
- export function classMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, params: Array<Identifier | Pattern | RestElement | TSParameterProperty>, body: BlockStatement, computed?: boolean, _static?: boolean, generator?: boolean, async?: boolean): ClassMethod;
1882
+ export function classMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, params: Array<FunctionParameter | TSParameterProperty>, body: BlockStatement, computed?: boolean, _static?: boolean, generator?: boolean, async?: boolean): ClassMethod;
1870
1883
  export function objectPattern(properties: Array<RestElement | ObjectProperty>): ObjectPattern;
1871
1884
  export function spreadElement(argument: Expression): SpreadElement;
1872
1885
  declare function _super(): Super;
@@ -1885,9 +1898,10 @@ export function optionalCallExpression(callee: Expression, _arguments: Array<Exp
1885
1898
  export function classProperty(key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null, decorators?: Array<Decorator> | null, computed?: boolean, _static?: boolean): ClassProperty;
1886
1899
  export function classAccessorProperty(key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression | PrivateName, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | Noop | null, decorators?: Array<Decorator> | null, computed?: boolean, _static?: boolean): ClassAccessorProperty;
1887
1900
  export function classPrivateProperty(key: PrivateName, value?: Expression | null, decorators?: Array<Decorator> | null, _static?: boolean): ClassPrivateProperty;
1888
- export function classPrivateMethod(kind: "get" | "set" | "method" | undefined, key: PrivateName, params: Array<Identifier | Pattern | RestElement | TSParameterProperty>, body: BlockStatement, _static?: boolean): ClassPrivateMethod;
1901
+ export function classPrivateMethod(kind: "get" | "set" | "method" | undefined, key: PrivateName, params: Array<FunctionParameter | TSParameterProperty>, body: BlockStatement, _static?: boolean): ClassPrivateMethod;
1889
1902
  export function privateName(id: Identifier): PrivateName;
1890
1903
  export function staticBlock(body: Array<Statement>): StaticBlock;
1904
+ export function importAttribute(key: Identifier | StringLiteral, value: StringLiteral): ImportAttribute;
1891
1905
  export function anyTypeAnnotation(): AnyTypeAnnotation;
1892
1906
  export function arrayTypeAnnotation(elementType: FlowType): ArrayTypeAnnotation;
1893
1907
  export function booleanTypeAnnotation(): BooleanTypeAnnotation;
@@ -1973,7 +1987,6 @@ export function placeholder(expectedNode: "Identifier" | "StringLiteral" | "Expr
1973
1987
  export function v8IntrinsicIdentifier(name: string): V8IntrinsicIdentifier;
1974
1988
  export function argumentPlaceholder(): ArgumentPlaceholder;
1975
1989
  export function bindExpression(object: Expression, callee: Expression): BindExpression;
1976
- export function importAttribute(key: Identifier | StringLiteral, value: StringLiteral): ImportAttribute;
1977
1990
  export function decorator(expression: Expression): Decorator;
1978
1991
  export function doExpression(body: BlockStatement, async?: boolean): DoExpression;
1979
1992
  export function exportDefaultSpecifier(exported: Identifier): ExportDefaultSpecifier;
@@ -1985,9 +1998,10 @@ export function topicReference(): TopicReference;
1985
1998
  export function pipelineTopicExpression(expression: Expression): PipelineTopicExpression;
1986
1999
  export function pipelineBareFunction(callee: Expression): PipelineBareFunction;
1987
2000
  export function pipelinePrimaryTopicReference(): PipelinePrimaryTopicReference;
2001
+ export function voidPattern(): VoidPattern;
1988
2002
  export function tsParameterProperty(parameter: Identifier | AssignmentPattern): TSParameterProperty;
1989
- export function tsDeclareFunction(id: Identifier | null | undefined, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: Array<Identifier | Pattern | RestElement>, returnType?: TSTypeAnnotation | Noop | null): TSDeclareFunction;
1990
- export function tsDeclareMethod(decorators: Array<Decorator> | null | undefined, key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: Array<Identifier | Pattern | RestElement | TSParameterProperty>, returnType?: TSTypeAnnotation | Noop | null): TSDeclareMethod;
2003
+ export function tsDeclareFunction(id: Identifier | null | undefined, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: Array<FunctionParameter>, returnType?: TSTypeAnnotation | Noop | null): TSDeclareFunction;
2004
+ export function tsDeclareMethod(decorators: Array<Decorator> | null | undefined, key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: Array<FunctionParameter | TSParameterProperty>, returnType?: TSTypeAnnotation | Noop | null): TSDeclareMethod;
1991
2005
  export function tsQualifiedName(left: TSEntityName, right: Identifier): TSQualifiedName;
1992
2006
  export function tsCallSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array<ArrayPattern | Identifier | ObjectPattern | RestElement>, typeAnnotation?: TSTypeAnnotation | null): TSCallSignatureDeclaration;
1993
2007
  export function tsConstructSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array<ArrayPattern | Identifier | ObjectPattern | RestElement>, typeAnnotation?: TSTypeAnnotation | null): TSConstructSignatureDeclaration;
@@ -2024,9 +2038,10 @@ export function tsIntersectionType(types: Array<TSType>): TSIntersectionType;
2024
2038
  export function tsConditionalType(checkType: TSType, extendsType: TSType, trueType: TSType, falseType: TSType): TSConditionalType;
2025
2039
  export function tsInferType(typeParameter: TSTypeParameter): TSInferType;
2026
2040
  export function tsParenthesizedType(typeAnnotation: TSType): TSParenthesizedType;
2027
- export function tsTypeOperator(typeAnnotation: TSType): TSTypeOperator;
2041
+ export function tsTypeOperator(typeAnnotation: TSType, operator?: string): TSTypeOperator;
2028
2042
  export function tsIndexedAccessType(objectType: TSType, indexType: TSType): TSIndexedAccessType;
2029
2043
  export function tsMappedType(typeParameter: TSTypeParameter, typeAnnotation?: TSType | null, nameType?: TSType | null): TSMappedType;
2044
+ export function tsTemplateLiteralType(quasis: Array<TemplateElement>, types: Array<TSType>): TSTemplateLiteralType;
2030
2045
  export function tsLiteralType(literal: NumericLiteral | StringLiteral | BooleanLiteral | BigIntLiteral | TemplateLiteral | UnaryExpression): TSLiteralType;
2031
2046
  export function tsExpressionWithTypeArguments(expression: TSEntityName, typeParameters?: TSTypeParameterInstantiation | null): TSExpressionWithTypeArguments;
2032
2047
  export function tsInterfaceDeclaration(id: Identifier, typeParameters: TSTypeParameterDeclaration | null | undefined, _extends: Array<TSExpressionWithTypeArguments> | null | undefined, body: TSInterfaceBody): TSInterfaceDeclaration;
@@ -2239,6 +2254,8 @@ export function isFunctionDeclaration(node: object | null | undefined, opts?: ob
2239
2254
  export function assertFunctionDeclaration(node: object | null | undefined, opts?: object | null): void;
2240
2255
  export function isFunctionExpression(node: object | null | undefined, opts?: object | null): node is FunctionExpression;
2241
2256
  export function assertFunctionExpression(node: object | null | undefined, opts?: object | null): void;
2257
+ export function isFunctionParameter(node: object | null | undefined, opts?: object | null): node is FunctionParameter;
2258
+ export function assertFunctionParameter(node: object | null | undefined, opts?: object | null): void;
2242
2259
  export function isFunctionParent(node: object | null | undefined, opts?: object | null): node is FunctionParent;
2243
2260
  export function assertFunctionParent(node: object | null | undefined, opts?: object | null): void;
2244
2261
  export function isFunctionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is FunctionTypeAnnotation;
@@ -2565,6 +2582,8 @@ export function isTSStringKeyword(node: object | null | undefined, opts?: object
2565
2582
  export function assertTSStringKeyword(node: object | null | undefined, opts?: object | null): void;
2566
2583
  export function isTSSymbolKeyword(node: object | null | undefined, opts?: object | null): node is TSSymbolKeyword;
2567
2584
  export function assertTSSymbolKeyword(node: object | null | undefined, opts?: object | null): void;
2585
+ export function isTSTemplateLiteralType(node: object | null | undefined, opts?: object | null): node is TSTemplateLiteralType;
2586
+ export function assertTSTemplateLiteralType(node: object | null | undefined, opts?: object | null): void;
2568
2587
  export function isTSThisType(node: object | null | undefined, opts?: object | null): node is TSThisType;
2569
2588
  export function assertTSThisType(node: object | null | undefined, opts?: object | null): void;
2570
2589
  export function isTSTupleType(node: object | null | undefined, opts?: object | null): node is TSTupleType;
@@ -2659,6 +2678,8 @@ export function isVariableDeclarator(node: object | null | undefined, opts?: obj
2659
2678
  export function assertVariableDeclarator(node: object | null | undefined, opts?: object | null): void;
2660
2679
  export function isVariance(node: object | null | undefined, opts?: object | null): node is Variance;
2661
2680
  export function assertVariance(node: object | null | undefined, opts?: object | null): void;
2681
+ export function isVoidPattern(node: object | null | undefined, opts?: object | null): node is VoidPattern;
2682
+ export function assertVoidPattern(node: object | null | undefined, opts?: object | null): void;
2662
2683
  export function isVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): node is VoidTypeAnnotation;
2663
2684
  export function assertVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): void;
2664
2685
  export function isWhile(node: object | null | undefined, opts?: object | null): node is While;