@putout/babel 2.4.0 → 2.5.0

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.
package/bundle/index.d.ts CHANGED
@@ -92,7 +92,7 @@ interface BreakStatement extends BaseNode {
92
92
  interface CallExpression extends BaseNode {
93
93
  type: "CallExpression";
94
94
  callee: Expression | Super | V8IntrinsicIdentifier;
95
- arguments: Array<Expression | SpreadElement | JSXNamespacedName | ArgumentPlaceholder>;
95
+ arguments: Array<Expression | SpreadElement | ArgumentPlaceholder>;
96
96
  optional: true | false | null;
97
97
  typeArguments: TypeParameterInstantiation | null;
98
98
  typeParameters: TSTypeParameterInstantiation | null;
@@ -246,7 +246,7 @@ interface MemberExpression extends BaseNode {
246
246
  interface NewExpression extends BaseNode {
247
247
  type: "NewExpression";
248
248
  callee: Expression | Super | V8IntrinsicIdentifier;
249
- arguments: Array<Expression | SpreadElement | JSXNamespacedName | ArgumentPlaceholder>;
249
+ arguments: Array<Expression | SpreadElement | ArgumentPlaceholder>;
250
250
  optional: true | false | null;
251
251
  typeArguments: TypeParameterInstantiation | null;
252
252
  typeParameters: TSTypeParameterInstantiation | null;
@@ -611,7 +611,7 @@ interface OptionalMemberExpression extends BaseNode {
611
611
  interface OptionalCallExpression extends BaseNode {
612
612
  type: "OptionalCallExpression";
613
613
  callee: Expression;
614
- arguments: Array<Expression | SpreadElement | JSXNamespacedName | ArgumentPlaceholder>;
614
+ arguments: Array<Expression | SpreadElement | ArgumentPlaceholder>;
615
615
  optional: boolean;
616
616
  typeArguments: TypeParameterInstantiation | null;
617
617
  typeParameters: TSTypeParameterInstantiation | null;
@@ -1786,7 +1786,7 @@ declare function directive(value: DirectiveLiteral): Directive;
1786
1786
  declare function directiveLiteral(value: string): DirectiveLiteral;
1787
1787
  declare function blockStatement(body: Array<Statement>, directives?: Array<Directive>): BlockStatement;
1788
1788
  declare function breakStatement(label?: Identifier | null): BreakStatement;
1789
- declare function callExpression(callee: Expression | Super | V8IntrinsicIdentifier, _arguments: Array<Expression | SpreadElement | JSXNamespacedName | ArgumentPlaceholder>): CallExpression;
1789
+ declare function callExpression(callee: Expression | Super | V8IntrinsicIdentifier, _arguments: Array<Expression | SpreadElement | ArgumentPlaceholder>): CallExpression;
1790
1790
  declare function catchClause(param: Identifier | ArrayPattern | ObjectPattern | null | undefined, body: BlockStatement): CatchClause;
1791
1791
  declare function conditionalExpression(test: Expression, consequent: Expression, alternate: Expression): ConditionalExpression;
1792
1792
  declare function continueStatement(label?: Identifier | null): ContinueStatement;
@@ -1809,7 +1809,7 @@ declare function booleanLiteral(value: boolean): BooleanLiteral;
1809
1809
  declare function regExpLiteral(pattern: string, flags?: string): RegExpLiteral;
1810
1810
  declare function logicalExpression(operator: "||" | "&&" | "??", left: Expression, right: Expression): LogicalExpression;
1811
1811
  declare function memberExpression(object: Expression | Super, property: Expression | Identifier | PrivateName, computed?: boolean, optional?: true | false | null): MemberExpression;
1812
- declare function newExpression(callee: Expression | Super | V8IntrinsicIdentifier, _arguments: Array<Expression | SpreadElement | JSXNamespacedName | ArgumentPlaceholder>): NewExpression;
1812
+ declare function newExpression(callee: Expression | Super | V8IntrinsicIdentifier, _arguments: Array<Expression | SpreadElement | ArgumentPlaceholder>): NewExpression;
1813
1813
  declare function program(body: Array<Statement>, directives?: Array<Directive>, sourceType?: "script" | "module", interpreter?: InterpreterDirective | null): Program;
1814
1814
  declare function objectExpression(properties: Array<ObjectMethod | ObjectProperty | SpreadElement>): ObjectExpression;
1815
1815
  declare 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;
@@ -1861,7 +1861,7 @@ declare function _import(): Import;
1861
1861
  declare function bigIntLiteral(value: string): BigIntLiteral;
1862
1862
  declare function exportNamespaceSpecifier(exported: Identifier): ExportNamespaceSpecifier;
1863
1863
  declare function optionalMemberExpression(object: Expression, property: Expression | Identifier, computed: boolean | undefined, optional: boolean): OptionalMemberExpression;
1864
- declare function optionalCallExpression(callee: Expression, _arguments: Array<Expression | SpreadElement | JSXNamespacedName | ArgumentPlaceholder>, optional: boolean): OptionalCallExpression;
1864
+ declare function optionalCallExpression(callee: Expression, _arguments: Array<Expression | SpreadElement | ArgumentPlaceholder>, optional: boolean): OptionalCallExpression;
1865
1865
  declare function classProperty(key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | null, decorators?: Array<Decorator> | null, computed?: boolean, _static?: boolean): ClassProperty;
1866
1866
  declare function classAccessorProperty(key: Identifier | StringLiteral | NumericLiteral | BigIntLiteral | Expression | PrivateName, value?: Expression | null, typeAnnotation?: TypeAnnotation | TSTypeAnnotation | null, decorators?: Array<Decorator> | null, computed?: boolean, _static?: boolean): ClassAccessorProperty;
1867
1867
  declare function classPrivateProperty(key: PrivateName, value?: Expression | null, decorators?: Array<Decorator> | null, _static?: boolean): ClassPrivateProperty;
@@ -3975,7 +3975,7 @@ declare namespace indexLegacy_d {
3975
3975
  }
3976
3976
 
3977
3977
  // This file is auto-generated! Do not modify it directly.
3978
- /* eslint-disable import/no-extraneous-dependencies, @typescript-eslint/consistent-type-imports, prettier/prettier */
3978
+ /* eslint-disable @typescript-eslint/consistent-type-imports, prettier/prettier */
3979
3979
 
3980
3980
 
3981
3981
  type Plugin =