@histoire/vendors 1.0.0-alpha.2 → 1.0.0-alpha.4

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 (28) hide show
  1. package/dist/client/node_modules/@babel/helper-string-parser/package.json +1 -1
  2. package/dist/client/node_modules/@babel/helper-validator-identifier/package.json +1 -1
  3. package/dist/client/node_modules/@babel/parser/package.json +7 -7
  4. package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +12 -3
  5. package/dist/client/node_modules/@babel/types/lib/index-legacy.d.ts +46 -35
  6. package/dist/client/node_modules/@babel/types/lib/index.d.ts +169 -147
  7. package/dist/client/node_modules/@babel/types/package.json +5 -5
  8. package/dist/client/node_modules/@floating-ui/core/dist/floating-ui.core.d.ts +4 -1
  9. package/dist/client/node_modules/@floating-ui/core/package.json +2 -2
  10. package/dist/client/node_modules/@floating-ui/utils/package.json +1 -1
  11. package/dist/client/node_modules/@jridgewell/sourcemap-codec/package.json +35 -47
  12. package/dist/client/node_modules/magic-string/package.json +69 -62
  13. package/dist/client/node_modules/nanoid/package.json +3 -2
  14. package/dist/client/node_modules/postcss/lib/container.d.ts +7 -4
  15. package/dist/client/node_modules/postcss/lib/input.d.ts +24 -3
  16. package/dist/client/node_modules/postcss/lib/node.d.ts +17 -2
  17. package/dist/client/node_modules/postcss/lib/stringifier.d.ts +2 -2
  18. package/dist/client/node_modules/postcss/package.json +4 -4
  19. package/package.json +1 -1
  20. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +0 -49
  21. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +0 -8
  22. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +0 -15
  23. package/dist/client/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +0 -6
  24. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/index.d.ts +0 -0
  25. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/v2/index.d.ts +0 -0
  26. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/v2.7/index.d.ts +0 -0
  27. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/lib/v3/index.d.ts +0 -0
  28. /package/dist/client/node_modules/{vue-demi → pinia/node_modules/vue-demi}/package.json +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/helper-string-parser",
3
- "version": "7.25.9",
3
+ "version": "7.27.1",
4
4
  "description": "A utility package to parse strings",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/helper-validator-identifier",
3
- "version": "7.25.9",
3
+ "version": "7.27.1",
4
4
  "description": "Validate identifier/keywords name",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/parser",
3
- "version": "7.26.9",
3
+ "version": "7.28.4",
4
4
  "description": "A JavaScript parser",
5
5
  "author": "The Babel Team (https://babel.dev/team)",
6
6
  "homepage": "https://babel.dev/docs/en/next/babel-parser",
@@ -35,14 +35,14 @@
35
35
  },
36
36
  "# dependencies": "This package doesn't actually have runtime dependencies. @babel/types is only needed for type definitions.",
37
37
  "dependencies": {
38
- "@babel/types": "^7.26.9"
38
+ "@babel/types": "^7.28.4"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/code-frame": "^7.26.2",
42
- "@babel/helper-check-duplicate-nodes": "^7.25.9",
43
- "@babel/helper-fixtures": "^7.26.0",
44
- "@babel/helper-string-parser": "^7.25.9",
45
- "@babel/helper-validator-identifier": "^7.25.9",
41
+ "@babel/code-frame": "^7.27.1",
42
+ "@babel/helper-check-duplicate-nodes": "^7.27.1",
43
+ "@babel/helper-fixtures": "^7.28.0",
44
+ "@babel/helper-string-parser": "^7.27.1",
45
+ "@babel/helper-validator-identifier": "^7.27.1",
46
46
  "charcodes": "^0.2.0"
47
47
  },
48
48
  "bin": "./bin/babel-parser.js",
@@ -22,7 +22,7 @@ type Plugin$1 =
22
22
  | "deprecatedImportAssert"
23
23
  | "doExpressions"
24
24
  | IF_BABEL_7<"dynamicImport">
25
- | "explicitResourceManagement"
25
+ | IF_BABEL_7<"explicitResourceManagement">
26
26
  | "exportDefaultFrom"
27
27
  | IF_BABEL_7<"exportNamespaceFrom">
28
28
  | "flow"
@@ -54,6 +54,7 @@ type Plugin$1 =
54
54
 
55
55
  type ParserPluginWithOptions =
56
56
  | ["decorators", DecoratorsPluginOptions]
57
+ | ["discardBinding", { syntaxType: "void" }]
57
58
  | ["estree", { classFeatures?: boolean }]
58
59
  | IF_BABEL_7<["importAttributes", { deprecatedAssertSyntax: boolean }]>
59
60
  | IF_BABEL_7<["moduleAttributes", { version: "may-2020" }]>
@@ -97,6 +98,7 @@ interface TypeScriptPluginOptions {
97
98
 
98
99
  type Plugin = PluginConfig;
99
100
 
101
+ type SourceType = "script" | "commonjs" | "module" | "unambiguous";
100
102
  interface Options {
101
103
  /**
102
104
  * By default, import and export declarations can only appear at a program's top level.
@@ -124,6 +126,11 @@ interface Options {
124
126
  * Set this to true to allow export statements to reference undeclared variables.
125
127
  */
126
128
  allowUndeclaredExports?: boolean;
129
+ /**
130
+ * By default, yield use is not allowed outside of a generator function.
131
+ * Set this to true to accept such code.
132
+ */
133
+ allowYieldOutsideFunction?: boolean;
127
134
  /**
128
135
  * By default, Babel parser JavaScript code according to Annex B syntax.
129
136
  * Set this to `false` to disable such behavior.
@@ -147,12 +154,14 @@ interface Options {
147
154
  errorRecovery?: boolean;
148
155
  /**
149
156
  * Indicate the mode the code should be parsed in.
150
- * Can be one of "script", "module", or "unambiguous". Defaults to "script".
157
+ * Can be one of "script", "commonjs", "module", or "unambiguous". Defaults to "script".
151
158
  * "unambiguous" will make @babel/parser attempt to guess, based on the presence
152
159
  * of ES6 import or export statements.
153
160
  * Files with ES6 imports and exports are considered "module" and are otherwise "script".
161
+ *
162
+ * Use "commonjs" to parse code that is intended to be run in a CommonJS environment such as Node.js.
154
163
  */
155
- sourceType?: "script" | "module" | "unambiguous";
164
+ sourceType?: SourceType;
156
165
  /**
157
166
  * Correlate output AST nodes with their source filename.
158
167
  * Useful when generating code and source maps from the ASTs of multiple input files.
@@ -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 | 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 | 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;
@@ -670,7 +670,7 @@ export interface ClassPrivateMethod extends BaseNode {
670
670
  type: "ClassPrivateMethod";
671
671
  kind: "get" | "set" | "method";
672
672
  key: PrivateName;
673
- params: Array<Identifier | Pattern | RestElement | TSParameterProperty>;
673
+ params: Array<FunctionParameter | TSParameterProperty>;
674
674
  body: BlockStatement;
675
675
  static: boolean;
676
676
  abstract: boolean | null;
@@ -696,6 +696,12 @@ export interface StaticBlock extends BaseNode {
696
696
  body: Array<Statement>;
697
697
  }
698
698
 
699
+ export interface ImportAttribute extends BaseNode {
700
+ type: "ImportAttribute";
701
+ key: Identifier | StringLiteral;
702
+ value: StringLiteral;
703
+ }
704
+
699
705
  export interface AnyTypeAnnotation extends BaseNode {
700
706
  type: "AnyTypeAnnotation";
701
707
  }
@@ -1203,12 +1209,6 @@ export interface BindExpression extends BaseNode {
1203
1209
  callee: Expression;
1204
1210
  }
1205
1211
 
1206
- export interface ImportAttribute extends BaseNode {
1207
- type: "ImportAttribute";
1208
- key: Identifier | StringLiteral;
1209
- value: StringLiteral;
1210
- }
1211
-
1212
1212
  export interface Decorator extends BaseNode {
1213
1213
  type: "Decorator";
1214
1214
  expression: Expression;
@@ -1263,6 +1263,10 @@ export interface PipelinePrimaryTopicReference extends BaseNode {
1263
1263
  type: "PipelinePrimaryTopicReference";
1264
1264
  }
1265
1265
 
1266
+ export interface VoidPattern extends BaseNode {
1267
+ type: "VoidPattern";
1268
+ }
1269
+
1266
1270
  export interface TSParameterProperty extends BaseNode {
1267
1271
  type: "TSParameterProperty";
1268
1272
  parameter: Identifier | AssignmentPattern;
@@ -1276,7 +1280,7 @@ export interface TSDeclareFunction extends BaseNode {
1276
1280
  type: "TSDeclareFunction";
1277
1281
  id: Identifier | null;
1278
1282
  typeParameters: TSTypeParameterDeclaration | Noop | null;
1279
- params: Array<Identifier | Pattern | RestElement>;
1283
+ params: Array<FunctionParameter>;
1280
1284
  returnType: TSTypeAnnotation | Noop | null;
1281
1285
  async: boolean;
1282
1286
  declare: boolean | null;
@@ -1288,7 +1292,7 @@ export interface TSDeclareMethod extends BaseNode {
1288
1292
  decorators: Array<Decorator> | null;
1289
1293
  key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression;
1290
1294
  typeParameters: TSTypeParameterDeclaration | Noop | null;
1291
- params: Array<Identifier | Pattern | RestElement | TSParameterProperty>;
1295
+ params: Array<FunctionParameter | TSParameterProperty>;
1292
1296
  returnType: TSTypeAnnotation | Noop | null;
1293
1297
  abstract: boolean | null;
1294
1298
  access: "public" | "private" | "protected" | null;
@@ -1625,7 +1629,7 @@ export interface TSImportType extends BaseNode {
1625
1629
  argument: StringLiteral;
1626
1630
  qualifier: TSEntityName | null;
1627
1631
  typeParameters: TSTypeParameterInstantiation | null;
1628
- options: Expression | null;
1632
+ options: ObjectExpression | null;
1629
1633
  }
1630
1634
 
1631
1635
  export interface TSImportEqualsDeclaration extends BaseNode {
@@ -1701,7 +1705,7 @@ export type RestProperty = RestElement;
1701
1705
  */
1702
1706
  export type SpreadProperty = SpreadElement;
1703
1707
 
1704
- 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;
1705
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;
1706
1710
  export type Binary = BinaryExpression | LogicalExpression;
1707
1711
  export type Scopable = BlockStatement | CatchClause | DoWhileStatement | ForInStatement | ForStatement | FunctionDeclaration | FunctionExpression | Program | ObjectMethod | SwitchStatement | WhileStatement | ArrowFunctionExpression | ClassExpression | ClassDeclaration | ForOfStatement | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock;
@@ -1720,7 +1724,8 @@ export type Function = FunctionDeclaration | FunctionExpression | ObjectMethod |
1720
1724
  export type FunctionParent = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock;
1721
1725
  export type Pureish = FunctionDeclaration | FunctionExpression | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | ArrowFunctionExpression | BigIntLiteral | DecimalLiteral;
1722
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;
1723
- export type PatternLike = Identifier | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression;
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;
1724
1729
  export type LVal = Identifier | MemberExpression | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | TSParameterProperty | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression;
1725
1730
  export type TSEntityName = Identifier | TSQualifiedName;
1726
1731
  export type Literal = StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | TemplateLiteral | BigIntLiteral | DecimalLiteral;
@@ -1730,7 +1735,7 @@ export type Method = ObjectMethod | ClassMethod | ClassPrivateMethod;
1730
1735
  export type ObjectMember = ObjectMethod | ObjectProperty;
1731
1736
  export type Property = ObjectProperty | ClassProperty | ClassAccessorProperty | ClassPrivateProperty;
1732
1737
  export type UnaryLike = UnaryExpression | SpreadElement;
1733
- export type Pattern = AssignmentPattern | ArrayPattern | ObjectPattern;
1738
+ export type Pattern = AssignmentPattern | ArrayPattern | ObjectPattern | VoidPattern;
1734
1739
  export type Class = ClassExpression | ClassDeclaration;
1735
1740
  export type ImportOrExportDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration;
1736
1741
  export type ExportDeclaration = ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration;
@@ -1772,6 +1777,7 @@ export interface Aliases {
1772
1777
  FunctionParent: FunctionParent;
1773
1778
  Pureish: Pureish;
1774
1779
  Declaration: Declaration;
1780
+ FunctionParameter: FunctionParameter;
1775
1781
  PatternLike: PatternLike;
1776
1782
  LVal: LVal;
1777
1783
  TSEntityName: TSEntityName;
@@ -1824,8 +1830,8 @@ export function expressionStatement(expression: Expression): ExpressionStatement
1824
1830
  export function file(program: Program, comments?: Array<CommentBlock | CommentLine> | null, tokens?: Array<any> | null): File;
1825
1831
  export function forInStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement): ForInStatement;
1826
1832
  export function forStatement(init: VariableDeclaration | Expression | null | undefined, test: Expression | null | undefined, update: Expression | null | undefined, body: Statement): ForStatement;
1827
- export function functionDeclaration(id: Identifier | null | undefined, params: Array<Identifier | Pattern | RestElement>, body: BlockStatement, generator?: boolean, async?: boolean): FunctionDeclaration;
1828
- 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;
1829
1835
  export function identifier(name: string): Identifier;
1830
1836
  export function ifStatement(test: Expression, consequent: Statement, alternate?: Statement | null): IfStatement;
1831
1837
  export function labeledStatement(label: Identifier, body: Statement): LabeledStatement;
@@ -1839,9 +1845,9 @@ export function memberExpression(object: Expression | Super, property: Expressio
1839
1845
  export function newExpression(callee: Expression | Super | V8IntrinsicIdentifier, _arguments: Array<Expression | SpreadElement | ArgumentPlaceholder>): NewExpression;
1840
1846
  export function program(body: Array<Statement>, directives?: Array<Directive>, sourceType?: "script" | "module", interpreter?: InterpreterDirective | null): Program;
1841
1847
  export function objectExpression(properties: Array<ObjectMethod | ObjectProperty | SpreadElement>): ObjectExpression;
1842
- 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;
1843
1849
  export function objectProperty(key: Expression | Identifier | StringLiteral | NumericLiteral | BigIntLiteral | DecimalLiteral | PrivateName, value: Expression | PatternLike, computed?: boolean, shorthand?: boolean, decorators?: Array<Decorator> | null): ObjectProperty;
1844
- export function restElement(argument: LVal): RestElement;
1850
+ export function restElement(argument: Identifier | ArrayPattern | ObjectPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression | RestElement | AssignmentPattern): RestElement;
1845
1851
  export function returnStatement(argument?: Expression | null): ReturnStatement;
1846
1852
  export function sequenceExpression(expressions: Array<Expression>): SequenceExpression;
1847
1853
  export function parenthesizedExpression(expression: Expression): ParenthesizedExpression;
@@ -1853,12 +1859,12 @@ export function tryStatement(block: BlockStatement, handler?: CatchClause | null
1853
1859
  export function unaryExpression(operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof", argument: Expression, prefix?: boolean): UnaryExpression;
1854
1860
  export function updateExpression(operator: "++" | "--", argument: Expression, prefix?: boolean): UpdateExpression;
1855
1861
  export function variableDeclaration(kind: "var" | "let" | "const" | "using" | "await using", declarations: Array<VariableDeclarator>): VariableDeclaration;
1856
- export function variableDeclarator(id: LVal, init?: Expression | null): VariableDeclarator;
1862
+ export function variableDeclarator(id: LVal | VoidPattern, init?: Expression | null): VariableDeclarator;
1857
1863
  export function whileStatement(test: Expression, body: Statement): WhileStatement;
1858
1864
  export function withStatement(object: Expression, body: Statement): WithStatement;
1859
1865
  export function assignmentPattern(left: Identifier | ObjectPattern | ArrayPattern | MemberExpression | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSNonNullExpression, right: Expression): AssignmentPattern;
1860
- export function arrayPattern(elements: Array<null | PatternLike | LVal>): ArrayPattern;
1861
- 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;
1862
1868
  export function classBody(body: Array<ClassMethod | ClassPrivateMethod | ClassProperty | ClassPrivateProperty | ClassAccessorProperty | TSDeclareMethod | TSIndexSignature | StaticBlock>): ClassBody;
1863
1869
  export function classExpression(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassExpression;
1864
1870
  export function classDeclaration(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassDeclaration;
@@ -1873,7 +1879,7 @@ export function importNamespaceSpecifier(local: Identifier): ImportNamespaceSpec
1873
1879
  export function importSpecifier(local: Identifier, imported: Identifier | StringLiteral): ImportSpecifier;
1874
1880
  export function importExpression(source: Expression, options?: Expression | null): ImportExpression;
1875
1881
  export function metaProperty(meta: Identifier, property: Identifier): MetaProperty;
1876
- 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;
1877
1883
  export function objectPattern(properties: Array<RestElement | ObjectProperty>): ObjectPattern;
1878
1884
  export function spreadElement(argument: Expression): SpreadElement;
1879
1885
  declare function _super(): Super;
@@ -1892,9 +1898,10 @@ export function optionalCallExpression(callee: Expression, _arguments: Array<Exp
1892
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;
1893
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;
1894
1900
  export function classPrivateProperty(key: PrivateName, value?: Expression | null, decorators?: Array<Decorator> | null, _static?: boolean): ClassPrivateProperty;
1895
- 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;
1896
1902
  export function privateName(id: Identifier): PrivateName;
1897
1903
  export function staticBlock(body: Array<Statement>): StaticBlock;
1904
+ export function importAttribute(key: Identifier | StringLiteral, value: StringLiteral): ImportAttribute;
1898
1905
  export function anyTypeAnnotation(): AnyTypeAnnotation;
1899
1906
  export function arrayTypeAnnotation(elementType: FlowType): ArrayTypeAnnotation;
1900
1907
  export function booleanTypeAnnotation(): BooleanTypeAnnotation;
@@ -1980,7 +1987,6 @@ export function placeholder(expectedNode: "Identifier" | "StringLiteral" | "Expr
1980
1987
  export function v8IntrinsicIdentifier(name: string): V8IntrinsicIdentifier;
1981
1988
  export function argumentPlaceholder(): ArgumentPlaceholder;
1982
1989
  export function bindExpression(object: Expression, callee: Expression): BindExpression;
1983
- export function importAttribute(key: Identifier | StringLiteral, value: StringLiteral): ImportAttribute;
1984
1990
  export function decorator(expression: Expression): Decorator;
1985
1991
  export function doExpression(body: BlockStatement, async?: boolean): DoExpression;
1986
1992
  export function exportDefaultSpecifier(exported: Identifier): ExportDefaultSpecifier;
@@ -1992,9 +1998,10 @@ export function topicReference(): TopicReference;
1992
1998
  export function pipelineTopicExpression(expression: Expression): PipelineTopicExpression;
1993
1999
  export function pipelineBareFunction(callee: Expression): PipelineBareFunction;
1994
2000
  export function pipelinePrimaryTopicReference(): PipelinePrimaryTopicReference;
2001
+ export function voidPattern(): VoidPattern;
1995
2002
  export function tsParameterProperty(parameter: Identifier | AssignmentPattern): TSParameterProperty;
1996
- export function tsDeclareFunction(id: Identifier | null | undefined, typeParameters: TSTypeParameterDeclaration | Noop | null | undefined, params: Array<Identifier | Pattern | RestElement>, returnType?: TSTypeAnnotation | Noop | null): TSDeclareFunction;
1997
- 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;
1998
2005
  export function tsQualifiedName(left: TSEntityName, right: Identifier): TSQualifiedName;
1999
2006
  export function tsCallSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array<ArrayPattern | Identifier | ObjectPattern | RestElement>, typeAnnotation?: TSTypeAnnotation | null): TSCallSignatureDeclaration;
2000
2007
  export function tsConstructSignatureDeclaration(typeParameters: TSTypeParameterDeclaration | null | undefined, parameters: Array<ArrayPattern | Identifier | ObjectPattern | RestElement>, typeAnnotation?: TSTypeAnnotation | null): TSConstructSignatureDeclaration;
@@ -2031,7 +2038,7 @@ export function tsIntersectionType(types: Array<TSType>): TSIntersectionType;
2031
2038
  export function tsConditionalType(checkType: TSType, extendsType: TSType, trueType: TSType, falseType: TSType): TSConditionalType;
2032
2039
  export function tsInferType(typeParameter: TSTypeParameter): TSInferType;
2033
2040
  export function tsParenthesizedType(typeAnnotation: TSType): TSParenthesizedType;
2034
- export function tsTypeOperator(typeAnnotation: TSType): TSTypeOperator;
2041
+ export function tsTypeOperator(typeAnnotation: TSType, operator?: string): TSTypeOperator;
2035
2042
  export function tsIndexedAccessType(objectType: TSType, indexType: TSType): TSIndexedAccessType;
2036
2043
  export function tsMappedType(typeParameter: TSTypeParameter, typeAnnotation?: TSType | null, nameType?: TSType | null): TSMappedType;
2037
2044
  export function tsTemplateLiteralType(quasis: Array<TemplateElement>, types: Array<TSType>): TSTemplateLiteralType;
@@ -2247,6 +2254,8 @@ export function isFunctionDeclaration(node: object | null | undefined, opts?: ob
2247
2254
  export function assertFunctionDeclaration(node: object | null | undefined, opts?: object | null): void;
2248
2255
  export function isFunctionExpression(node: object | null | undefined, opts?: object | null): node is FunctionExpression;
2249
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;
2250
2259
  export function isFunctionParent(node: object | null | undefined, opts?: object | null): node is FunctionParent;
2251
2260
  export function assertFunctionParent(node: object | null | undefined, opts?: object | null): void;
2252
2261
  export function isFunctionTypeAnnotation(node: object | null | undefined, opts?: object | null): node is FunctionTypeAnnotation;
@@ -2669,6 +2678,8 @@ export function isVariableDeclarator(node: object | null | undefined, opts?: obj
2669
2678
  export function assertVariableDeclarator(node: object | null | undefined, opts?: object | null): void;
2670
2679
  export function isVariance(node: object | null | undefined, opts?: object | null): node is Variance;
2671
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;
2672
2683
  export function isVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): node is VoidTypeAnnotation;
2673
2684
  export function assertVoidTypeAnnotation(node: object | null | undefined, opts?: object | null): void;
2674
2685
  export function isWhile(node: object | null | undefined, opts?: object | null): node is While;