mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-08 08:14:51 -06:00
Update baselines.
This commit is contained in:
parent
16031bc429
commit
79c72751df
@ -10127,7 +10127,7 @@ declare namespace ts {
|
||||
(text: string, isSingleQuote?: boolean | undefined, hasExtendedUnicodeEscape?: boolean | undefined): StringLiteral;
|
||||
};
|
||||
/** @deprecated Use `factory.createStringLiteralFromNode` or the factory supplied by your transformation context instead. */
|
||||
const createStringLiteralFromNode: (sourceNode: Identifier | StringLiteral | NoSubstitutionTemplateLiteral | NumericLiteral, isSingleQuote?: boolean | undefined) => StringLiteral;
|
||||
const createStringLiteralFromNode: (sourceNode: PropertyNameLiteral, isSingleQuote?: boolean | undefined) => StringLiteral;
|
||||
/** @deprecated Use `factory.createRegularExpressionLiteral` or the factory supplied by your transformation context instead. */
|
||||
const createRegularExpressionLiteral: (text: string) => RegularExpressionLiteral;
|
||||
/** @deprecated Use `factory.createLoopVariable` or the factory supplied by your transformation context instead. */
|
||||
@ -10163,19 +10163,19 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateTypeParameterDeclaration: (node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined) => TypeParameterDeclaration;
|
||||
/** @deprecated Use `factory.createParameterDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createParameter: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | Identifier | ObjectBindingPattern | ArrayBindingPattern, questionToken?: QuestionToken | undefined, type?: TypeNode | undefined, initializer?: Expression | undefined) => ParameterDeclaration;
|
||||
const createParameter: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken | undefined, type?: TypeNode | undefined, initializer?: Expression | undefined) => ParameterDeclaration;
|
||||
/** @deprecated Use `factory.updateParameterDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateParameter: (node: ParameterDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | Identifier | ObjectBindingPattern | ArrayBindingPattern, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => ParameterDeclaration;
|
||||
const updateParameter: (node: ParameterDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => ParameterDeclaration;
|
||||
/** @deprecated Use `factory.createDecorator` or the factory supplied by your transformation context instead. */
|
||||
const createDecorator: (expression: Expression) => Decorator;
|
||||
/** @deprecated Use `factory.updateDecorator` or the factory supplied by your transformation context instead. */
|
||||
const updateDecorator: (node: Decorator, expression: Expression) => Decorator;
|
||||
/** @deprecated Use `factory.createPropertyDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createProperty: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertyDeclaration;
|
||||
const createProperty: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertyDeclaration;
|
||||
/** @deprecated Use `factory.updatePropertyDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateProperty: (node: PropertyDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertyDeclaration;
|
||||
const updateProperty: (node: PropertyDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertyDeclaration;
|
||||
/** @deprecated Use `factory.createMethodDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createMethod: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, asteriskToken: AsteriskToken | undefined, name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => MethodDeclaration;
|
||||
const createMethod: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, asteriskToken: AsteriskToken | undefined, name: string | PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => MethodDeclaration;
|
||||
/** @deprecated Use `factory.updateMethodDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateMethod: (node: MethodDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, asteriskToken: AsteriskToken | undefined, name: PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => MethodDeclaration;
|
||||
/** @deprecated Use `factory.createConstructorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
@ -10183,11 +10183,11 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateConstructorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateConstructor: (node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined) => ConstructorDeclaration;
|
||||
/** @deprecated Use `factory.createGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createGetAccessor: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => GetAccessorDeclaration;
|
||||
const createGetAccessor: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => GetAccessorDeclaration;
|
||||
/** @deprecated Use `factory.updateGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateGetAccessor: (node: GetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => GetAccessorDeclaration;
|
||||
/** @deprecated Use `factory.createSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createSetAccessor: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, parameters: readonly ParameterDeclaration[], body: Block | undefined) => SetAccessorDeclaration;
|
||||
const createSetAccessor: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined) => SetAccessorDeclaration;
|
||||
/** @deprecated Use `factory.updateSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateSetAccessor: (node: SetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined) => SetAccessorDeclaration;
|
||||
/** @deprecated Use `factory.createCallSignature` or the factory supplied by your transformation context instead. */
|
||||
@ -10207,7 +10207,7 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateTypePredicateNode` or the factory supplied by your transformation context instead. */
|
||||
const updateTypePredicateNodeWithModifier: (node: TypePredicateNode, assertsModifier: AssertsKeyword | undefined, parameterName: Identifier | ThisTypeNode, type: TypeNode | undefined) => TypePredicateNode;
|
||||
/** @deprecated Use `factory.createTypeReferenceNode` or the factory supplied by your transformation context instead. */
|
||||
const createTypeReferenceNode: (typeName: string | Identifier | QualifiedName, typeArguments?: readonly TypeNode[] | undefined) => TypeReferenceNode;
|
||||
const createTypeReferenceNode: (typeName: string | EntityName, typeArguments?: readonly TypeNode[] | undefined) => TypeReferenceNode;
|
||||
/** @deprecated Use `factory.updateTypeReferenceNode` or the factory supplied by your transformation context instead. */
|
||||
const updateTypeReferenceNode: (node: TypeReferenceNode, typeName: EntityName, typeArguments: NodeArray<TypeNode> | undefined) => TypeReferenceNode;
|
||||
/** @deprecated Use `factory.createFunctionTypeNode` or the factory supplied by your transformation context instead. */
|
||||
@ -10259,9 +10259,9 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateInferTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const updateInferTypeNode: (node: InferTypeNode, typeParameter: TypeParameterDeclaration) => InferTypeNode;
|
||||
/** @deprecated Use `factory.createImportTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const createImportTypeNode: (argument: TypeNode, qualifier?: Identifier | QualifiedName | undefined, typeArguments?: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined) => ImportTypeNode;
|
||||
const createImportTypeNode: (argument: TypeNode, qualifier?: EntityName | undefined, typeArguments?: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined) => ImportTypeNode;
|
||||
/** @deprecated Use `factory.updateImportTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const updateImportTypeNode: (node: ImportTypeNode, argument: TypeNode, qualifier: Identifier | QualifiedName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined) => ImportTypeNode;
|
||||
const updateImportTypeNode: (node: ImportTypeNode, argument: TypeNode, qualifier: EntityName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined) => ImportTypeNode;
|
||||
/** @deprecated Use `factory.createParenthesizedType` or the factory supplied by your transformation context instead. */
|
||||
const createParenthesizedType: (type: TypeNode) => ParenthesizedTypeNode;
|
||||
/** @deprecated Use `factory.updateParenthesizedType` or the factory supplied by your transformation context instead. */
|
||||
@ -10279,9 +10279,9 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateMappedTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const updateMappedTypeNode: (node: MappedTypeNode, readonlyToken: ReadonlyKeyword | PlusToken | MinusToken | undefined, typeParameter: TypeParameterDeclaration, nameType: TypeNode | undefined, questionToken: QuestionToken | PlusToken | MinusToken | undefined, type: TypeNode | undefined) => MappedTypeNode;
|
||||
/** @deprecated Use `factory.createLiteralTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const createLiteralTypeNode: (literal: LiteralExpression | TrueLiteral | FalseLiteral | PrefixUnaryExpression | NullLiteral) => LiteralTypeNode;
|
||||
const createLiteralTypeNode: (literal: LiteralExpression | BooleanLiteral | PrefixUnaryExpression | NullLiteral) => LiteralTypeNode;
|
||||
/** @deprecated Use `factory.updateLiteralTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const updateLiteralTypeNode: (node: LiteralTypeNode, literal: LiteralExpression | TrueLiteral | FalseLiteral | PrefixUnaryExpression | NullLiteral) => LiteralTypeNode;
|
||||
const updateLiteralTypeNode: (node: LiteralTypeNode, literal: LiteralExpression | BooleanLiteral | PrefixUnaryExpression | NullLiteral) => LiteralTypeNode;
|
||||
/** @deprecated Use `factory.createObjectBindingPattern` or the factory supplied by your transformation context instead. */
|
||||
const createObjectBindingPattern: (elements: readonly BindingElement[]) => ObjectBindingPattern;
|
||||
/** @deprecated Use `factory.updateObjectBindingPattern` or the factory supplied by your transformation context instead. */
|
||||
@ -10291,9 +10291,9 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateArrayBindingPattern` or the factory supplied by your transformation context instead. */
|
||||
const updateArrayBindingPattern: (node: ArrayBindingPattern, elements: readonly ArrayBindingElement[]) => ArrayBindingPattern;
|
||||
/** @deprecated Use `factory.createBindingElement` or the factory supplied by your transformation context instead. */
|
||||
const createBindingElement: (dotDotDotToken: DotDotDotToken | undefined, propertyName: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier | undefined, name: string | Identifier | ObjectBindingPattern | ArrayBindingPattern, initializer?: Expression | undefined) => BindingElement;
|
||||
const createBindingElement: (dotDotDotToken: DotDotDotToken | undefined, propertyName: string | PropertyName | undefined, name: string | BindingName, initializer?: Expression | undefined) => BindingElement;
|
||||
/** @deprecated Use `factory.updateBindingElement` or the factory supplied by your transformation context instead. */
|
||||
const updateBindingElement: (node: BindingElement, dotDotDotToken: DotDotDotToken | undefined, propertyName: Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier | undefined, name: BindingName, initializer: Expression | undefined) => BindingElement;
|
||||
const updateBindingElement: (node: BindingElement, dotDotDotToken: DotDotDotToken | undefined, propertyName: PropertyName | undefined, name: BindingName, initializer: Expression | undefined) => BindingElement;
|
||||
/** @deprecated Use `factory.createArrayLiteralExpression` or the factory supplied by your transformation context instead. */
|
||||
const createArrayLiteral: (elements?: readonly Expression[] | undefined, multiLine?: boolean | undefined) => ArrayLiteralExpression;
|
||||
/** @deprecated Use `factory.updateArrayLiteralExpression` or the factory supplied by your transformation context instead. */
|
||||
@ -10367,7 +10367,7 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updatePostfixUnaryExpression` or the factory supplied by your transformation context instead. */
|
||||
const updatePostfix: (node: PostfixUnaryExpression, operand: Expression) => PostfixUnaryExpression;
|
||||
/** @deprecated Use `factory.createBinaryExpression` or the factory supplied by your transformation context instead. */
|
||||
const createBinary: (left: Expression, operator: SyntaxKind.CommaToken | SyntaxKind.LessThanToken | SyntaxKind.GreaterThanToken | SyntaxKind.LessThanEqualsToken | SyntaxKind.GreaterThanEqualsToken | SyntaxKind.EqualsEqualsToken | SyntaxKind.ExclamationEqualsToken | SyntaxKind.EqualsEqualsEqualsToken | SyntaxKind.ExclamationEqualsEqualsToken | SyntaxKind.PlusToken | SyntaxKind.MinusToken | SyntaxKind.AsteriskToken | SyntaxKind.AsteriskAsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.GreaterThanGreaterThanGreaterThanToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.AmpersandAmpersandToken | SyntaxKind.BarBarToken | SyntaxKind.QuestionQuestionToken | SyntaxKind.EqualsToken | SyntaxKind.PlusEqualsToken | SyntaxKind.MinusEqualsToken | SyntaxKind.AsteriskEqualsToken | SyntaxKind.AsteriskAsteriskEqualsToken | SyntaxKind.SlashEqualsToken | SyntaxKind.PercentEqualsToken | SyntaxKind.LessThanLessThanEqualsToken | SyntaxKind.GreaterThanGreaterThanEqualsToken | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken | SyntaxKind.AmpersandEqualsToken | SyntaxKind.BarEqualsToken | SyntaxKind.BarBarEqualsToken | SyntaxKind.AmpersandAmpersandEqualsToken | SyntaxKind.QuestionQuestionEqualsToken | SyntaxKind.CaretEqualsToken | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | BinaryOperatorToken, right: Expression) => BinaryExpression;
|
||||
const createBinary: (left: Expression, operator: BinaryOperator | BinaryOperatorToken, right: Expression) => BinaryExpression;
|
||||
/** @deprecated Use `factory.updateConditionalExpression` or the factory supplied by your transformation context instead. */
|
||||
const updateConditional: (node: ConditionalExpression, condition: Expression, questionToken: QuestionToken, whenTrue: Expression, colonToken: ColonToken, whenFalse: Expression) => ConditionalExpression;
|
||||
/** @deprecated Use `factory.createTemplateExpression` or the factory supplied by your transformation context instead. */
|
||||
@ -10455,9 +10455,9 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateWhileStatement` or the factory supplied by your transformation context instead. */
|
||||
const updateWhile: (node: WhileStatement, expression: Expression, statement: Statement) => WhileStatement;
|
||||
/** @deprecated Use `factory.createForStatement` or the factory supplied by your transformation context instead. */
|
||||
const createFor: (initializer: Expression | VariableDeclarationList | undefined, condition: Expression | undefined, incrementor: Expression | undefined, statement: Statement) => ForStatement;
|
||||
const createFor: (initializer: ForInitializer | undefined, condition: Expression | undefined, incrementor: Expression | undefined, statement: Statement) => ForStatement;
|
||||
/** @deprecated Use `factory.updateForStatement` or the factory supplied by your transformation context instead. */
|
||||
const updateFor: (node: ForStatement, initializer: Expression | VariableDeclarationList | undefined, condition: Expression | undefined, incrementor: Expression | undefined, statement: Statement) => ForStatement;
|
||||
const updateFor: (node: ForStatement, initializer: ForInitializer | undefined, condition: Expression | undefined, incrementor: Expression | undefined, statement: Statement) => ForStatement;
|
||||
/** @deprecated Use `factory.createForInStatement` or the factory supplied by your transformation context instead. */
|
||||
const createForIn: (initializer: ForInitializer, expression: Expression, statement: Statement) => ForInStatement;
|
||||
/** @deprecated Use `factory.updateForInStatement` or the factory supplied by your transformation context instead. */
|
||||
@ -10525,9 +10525,9 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateEnumDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateEnumDeclaration: (node: EnumDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]) => EnumDeclaration;
|
||||
/** @deprecated Use `factory.createModuleDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createModuleDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBlock | NamespaceDeclaration | Identifier | JSDocNamespaceDeclaration | undefined, flags?: NodeFlags | undefined) => ModuleDeclaration;
|
||||
const createModuleDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags | undefined) => ModuleDeclaration;
|
||||
/** @deprecated Use `factory.updateModuleDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateModuleDeclaration: (node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBlock | NamespaceDeclaration | Identifier | JSDocNamespaceDeclaration | undefined) => ModuleDeclaration;
|
||||
const updateModuleDeclaration: (node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined) => ModuleDeclaration;
|
||||
/** @deprecated Use `factory.createModuleBlock` or the factory supplied by your transformation context instead. */
|
||||
const createModuleBlock: (statements: readonly Statement[]) => ModuleBlock;
|
||||
/** @deprecated Use `factory.updateModuleBlock` or the factory supplied by your transformation context instead. */
|
||||
@ -10685,7 +10685,7 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateCatchClause` or the factory supplied by your transformation context instead. */
|
||||
const updateCatchClause: (node: CatchClause, variableDeclaration: VariableDeclaration | undefined, block: Block) => CatchClause;
|
||||
/** @deprecated Use `factory.createPropertyAssignment` or the factory supplied by your transformation context instead. */
|
||||
const createPropertyAssignment: (name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, initializer: Expression) => PropertyAssignment;
|
||||
const createPropertyAssignment: (name: string | PropertyName, initializer: Expression) => PropertyAssignment;
|
||||
/** @deprecated Use `factory.updatePropertyAssignment` or the factory supplied by your transformation context instead. */
|
||||
const updatePropertyAssignment: (node: PropertyAssignment, name: PropertyName, initializer: Expression) => PropertyAssignment;
|
||||
/** @deprecated Use `factory.createShorthandPropertyAssignment` or the factory supplied by your transformation context instead. */
|
||||
@ -10697,7 +10697,7 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateSpreadAssignment` or the factory supplied by your transformation context instead. */
|
||||
const updateSpreadAssignment: (node: SpreadAssignment, expression: Expression) => SpreadAssignment;
|
||||
/** @deprecated Use `factory.createEnumMember` or the factory supplied by your transformation context instead. */
|
||||
const createEnumMember: (name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, initializer?: Expression | undefined) => EnumMember;
|
||||
const createEnumMember: (name: string | PropertyName, initializer?: Expression | undefined) => EnumMember;
|
||||
/** @deprecated Use `factory.updateEnumMember` or the factory supplied by your transformation context instead. */
|
||||
const updateEnumMember: (node: EnumMember, name: PropertyName, initializer: Expression | undefined) => EnumMember;
|
||||
/** @deprecated Use `factory.updateSourceFile` or the factory supplied by your transformation context instead. */
|
||||
|
||||
44
tests/baselines/reference/api/typescript.d.ts
vendored
44
tests/baselines/reference/api/typescript.d.ts
vendored
@ -6462,7 +6462,7 @@ declare namespace ts {
|
||||
(text: string, isSingleQuote?: boolean | undefined, hasExtendedUnicodeEscape?: boolean | undefined): StringLiteral;
|
||||
};
|
||||
/** @deprecated Use `factory.createStringLiteralFromNode` or the factory supplied by your transformation context instead. */
|
||||
const createStringLiteralFromNode: (sourceNode: Identifier | StringLiteral | NoSubstitutionTemplateLiteral | NumericLiteral, isSingleQuote?: boolean | undefined) => StringLiteral;
|
||||
const createStringLiteralFromNode: (sourceNode: PropertyNameLiteral, isSingleQuote?: boolean | undefined) => StringLiteral;
|
||||
/** @deprecated Use `factory.createRegularExpressionLiteral` or the factory supplied by your transformation context instead. */
|
||||
const createRegularExpressionLiteral: (text: string) => RegularExpressionLiteral;
|
||||
/** @deprecated Use `factory.createLoopVariable` or the factory supplied by your transformation context instead. */
|
||||
@ -6498,19 +6498,19 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateTypeParameterDeclaration: (node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined) => TypeParameterDeclaration;
|
||||
/** @deprecated Use `factory.createParameterDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createParameter: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | Identifier | ObjectBindingPattern | ArrayBindingPattern, questionToken?: QuestionToken | undefined, type?: TypeNode | undefined, initializer?: Expression | undefined) => ParameterDeclaration;
|
||||
const createParameter: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken | undefined, type?: TypeNode | undefined, initializer?: Expression | undefined) => ParameterDeclaration;
|
||||
/** @deprecated Use `factory.updateParameterDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateParameter: (node: ParameterDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | Identifier | ObjectBindingPattern | ArrayBindingPattern, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => ParameterDeclaration;
|
||||
const updateParameter: (node: ParameterDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => ParameterDeclaration;
|
||||
/** @deprecated Use `factory.createDecorator` or the factory supplied by your transformation context instead. */
|
||||
const createDecorator: (expression: Expression) => Decorator;
|
||||
/** @deprecated Use `factory.updateDecorator` or the factory supplied by your transformation context instead. */
|
||||
const updateDecorator: (node: Decorator, expression: Expression) => Decorator;
|
||||
/** @deprecated Use `factory.createPropertyDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createProperty: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertyDeclaration;
|
||||
const createProperty: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertyDeclaration;
|
||||
/** @deprecated Use `factory.updatePropertyDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateProperty: (node: PropertyDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertyDeclaration;
|
||||
const updateProperty: (node: PropertyDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertyDeclaration;
|
||||
/** @deprecated Use `factory.createMethodDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createMethod: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, asteriskToken: AsteriskToken | undefined, name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => MethodDeclaration;
|
||||
const createMethod: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, asteriskToken: AsteriskToken | undefined, name: string | PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => MethodDeclaration;
|
||||
/** @deprecated Use `factory.updateMethodDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateMethod: (node: MethodDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, asteriskToken: AsteriskToken | undefined, name: PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => MethodDeclaration;
|
||||
/** @deprecated Use `factory.createConstructorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
@ -6518,11 +6518,11 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateConstructorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateConstructor: (node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined) => ConstructorDeclaration;
|
||||
/** @deprecated Use `factory.createGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createGetAccessor: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => GetAccessorDeclaration;
|
||||
const createGetAccessor: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => GetAccessorDeclaration;
|
||||
/** @deprecated Use `factory.updateGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateGetAccessor: (node: GetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => GetAccessorDeclaration;
|
||||
/** @deprecated Use `factory.createSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createSetAccessor: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, parameters: readonly ParameterDeclaration[], body: Block | undefined) => SetAccessorDeclaration;
|
||||
const createSetAccessor: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined) => SetAccessorDeclaration;
|
||||
/** @deprecated Use `factory.updateSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateSetAccessor: (node: SetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined) => SetAccessorDeclaration;
|
||||
/** @deprecated Use `factory.createCallSignature` or the factory supplied by your transformation context instead. */
|
||||
@ -6542,7 +6542,7 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateTypePredicateNode` or the factory supplied by your transformation context instead. */
|
||||
const updateTypePredicateNodeWithModifier: (node: TypePredicateNode, assertsModifier: AssertsKeyword | undefined, parameterName: Identifier | ThisTypeNode, type: TypeNode | undefined) => TypePredicateNode;
|
||||
/** @deprecated Use `factory.createTypeReferenceNode` or the factory supplied by your transformation context instead. */
|
||||
const createTypeReferenceNode: (typeName: string | Identifier | QualifiedName, typeArguments?: readonly TypeNode[] | undefined) => TypeReferenceNode;
|
||||
const createTypeReferenceNode: (typeName: string | EntityName, typeArguments?: readonly TypeNode[] | undefined) => TypeReferenceNode;
|
||||
/** @deprecated Use `factory.updateTypeReferenceNode` or the factory supplied by your transformation context instead. */
|
||||
const updateTypeReferenceNode: (node: TypeReferenceNode, typeName: EntityName, typeArguments: NodeArray<TypeNode> | undefined) => TypeReferenceNode;
|
||||
/** @deprecated Use `factory.createFunctionTypeNode` or the factory supplied by your transformation context instead. */
|
||||
@ -6594,9 +6594,9 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateInferTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const updateInferTypeNode: (node: InferTypeNode, typeParameter: TypeParameterDeclaration) => InferTypeNode;
|
||||
/** @deprecated Use `factory.createImportTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const createImportTypeNode: (argument: TypeNode, qualifier?: Identifier | QualifiedName | undefined, typeArguments?: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined) => ImportTypeNode;
|
||||
const createImportTypeNode: (argument: TypeNode, qualifier?: EntityName | undefined, typeArguments?: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined) => ImportTypeNode;
|
||||
/** @deprecated Use `factory.updateImportTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const updateImportTypeNode: (node: ImportTypeNode, argument: TypeNode, qualifier: Identifier | QualifiedName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined) => ImportTypeNode;
|
||||
const updateImportTypeNode: (node: ImportTypeNode, argument: TypeNode, qualifier: EntityName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined) => ImportTypeNode;
|
||||
/** @deprecated Use `factory.createParenthesizedType` or the factory supplied by your transformation context instead. */
|
||||
const createParenthesizedType: (type: TypeNode) => ParenthesizedTypeNode;
|
||||
/** @deprecated Use `factory.updateParenthesizedType` or the factory supplied by your transformation context instead. */
|
||||
@ -6614,9 +6614,9 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateMappedTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const updateMappedTypeNode: (node: MappedTypeNode, readonlyToken: ReadonlyKeyword | PlusToken | MinusToken | undefined, typeParameter: TypeParameterDeclaration, nameType: TypeNode | undefined, questionToken: QuestionToken | PlusToken | MinusToken | undefined, type: TypeNode | undefined) => MappedTypeNode;
|
||||
/** @deprecated Use `factory.createLiteralTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const createLiteralTypeNode: (literal: LiteralExpression | TrueLiteral | FalseLiteral | PrefixUnaryExpression | NullLiteral) => LiteralTypeNode;
|
||||
const createLiteralTypeNode: (literal: LiteralExpression | BooleanLiteral | PrefixUnaryExpression | NullLiteral) => LiteralTypeNode;
|
||||
/** @deprecated Use `factory.updateLiteralTypeNode` or the factory supplied by your transformation context instead. */
|
||||
const updateLiteralTypeNode: (node: LiteralTypeNode, literal: LiteralExpression | TrueLiteral | FalseLiteral | PrefixUnaryExpression | NullLiteral) => LiteralTypeNode;
|
||||
const updateLiteralTypeNode: (node: LiteralTypeNode, literal: LiteralExpression | BooleanLiteral | PrefixUnaryExpression | NullLiteral) => LiteralTypeNode;
|
||||
/** @deprecated Use `factory.createObjectBindingPattern` or the factory supplied by your transformation context instead. */
|
||||
const createObjectBindingPattern: (elements: readonly BindingElement[]) => ObjectBindingPattern;
|
||||
/** @deprecated Use `factory.updateObjectBindingPattern` or the factory supplied by your transformation context instead. */
|
||||
@ -6626,9 +6626,9 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateArrayBindingPattern` or the factory supplied by your transformation context instead. */
|
||||
const updateArrayBindingPattern: (node: ArrayBindingPattern, elements: readonly ArrayBindingElement[]) => ArrayBindingPattern;
|
||||
/** @deprecated Use `factory.createBindingElement` or the factory supplied by your transformation context instead. */
|
||||
const createBindingElement: (dotDotDotToken: DotDotDotToken | undefined, propertyName: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier | undefined, name: string | Identifier | ObjectBindingPattern | ArrayBindingPattern, initializer?: Expression | undefined) => BindingElement;
|
||||
const createBindingElement: (dotDotDotToken: DotDotDotToken | undefined, propertyName: string | PropertyName | undefined, name: string | BindingName, initializer?: Expression | undefined) => BindingElement;
|
||||
/** @deprecated Use `factory.updateBindingElement` or the factory supplied by your transformation context instead. */
|
||||
const updateBindingElement: (node: BindingElement, dotDotDotToken: DotDotDotToken | undefined, propertyName: Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier | undefined, name: BindingName, initializer: Expression | undefined) => BindingElement;
|
||||
const updateBindingElement: (node: BindingElement, dotDotDotToken: DotDotDotToken | undefined, propertyName: PropertyName | undefined, name: BindingName, initializer: Expression | undefined) => BindingElement;
|
||||
/** @deprecated Use `factory.createArrayLiteralExpression` or the factory supplied by your transformation context instead. */
|
||||
const createArrayLiteral: (elements?: readonly Expression[] | undefined, multiLine?: boolean | undefined) => ArrayLiteralExpression;
|
||||
/** @deprecated Use `factory.updateArrayLiteralExpression` or the factory supplied by your transformation context instead. */
|
||||
@ -6702,7 +6702,7 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updatePostfixUnaryExpression` or the factory supplied by your transformation context instead. */
|
||||
const updatePostfix: (node: PostfixUnaryExpression, operand: Expression) => PostfixUnaryExpression;
|
||||
/** @deprecated Use `factory.createBinaryExpression` or the factory supplied by your transformation context instead. */
|
||||
const createBinary: (left: Expression, operator: SyntaxKind.CommaToken | SyntaxKind.LessThanToken | SyntaxKind.GreaterThanToken | SyntaxKind.LessThanEqualsToken | SyntaxKind.GreaterThanEqualsToken | SyntaxKind.EqualsEqualsToken | SyntaxKind.ExclamationEqualsToken | SyntaxKind.EqualsEqualsEqualsToken | SyntaxKind.ExclamationEqualsEqualsToken | SyntaxKind.PlusToken | SyntaxKind.MinusToken | SyntaxKind.AsteriskToken | SyntaxKind.AsteriskAsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.GreaterThanGreaterThanGreaterThanToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.AmpersandAmpersandToken | SyntaxKind.BarBarToken | SyntaxKind.QuestionQuestionToken | SyntaxKind.EqualsToken | SyntaxKind.PlusEqualsToken | SyntaxKind.MinusEqualsToken | SyntaxKind.AsteriskEqualsToken | SyntaxKind.AsteriskAsteriskEqualsToken | SyntaxKind.SlashEqualsToken | SyntaxKind.PercentEqualsToken | SyntaxKind.LessThanLessThanEqualsToken | SyntaxKind.GreaterThanGreaterThanEqualsToken | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken | SyntaxKind.AmpersandEqualsToken | SyntaxKind.BarEqualsToken | SyntaxKind.BarBarEqualsToken | SyntaxKind.AmpersandAmpersandEqualsToken | SyntaxKind.QuestionQuestionEqualsToken | SyntaxKind.CaretEqualsToken | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | BinaryOperatorToken, right: Expression) => BinaryExpression;
|
||||
const createBinary: (left: Expression, operator: BinaryOperator | BinaryOperatorToken, right: Expression) => BinaryExpression;
|
||||
/** @deprecated Use `factory.updateConditionalExpression` or the factory supplied by your transformation context instead. */
|
||||
const updateConditional: (node: ConditionalExpression, condition: Expression, questionToken: QuestionToken, whenTrue: Expression, colonToken: ColonToken, whenFalse: Expression) => ConditionalExpression;
|
||||
/** @deprecated Use `factory.createTemplateExpression` or the factory supplied by your transformation context instead. */
|
||||
@ -6790,9 +6790,9 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateWhileStatement` or the factory supplied by your transformation context instead. */
|
||||
const updateWhile: (node: WhileStatement, expression: Expression, statement: Statement) => WhileStatement;
|
||||
/** @deprecated Use `factory.createForStatement` or the factory supplied by your transformation context instead. */
|
||||
const createFor: (initializer: Expression | VariableDeclarationList | undefined, condition: Expression | undefined, incrementor: Expression | undefined, statement: Statement) => ForStatement;
|
||||
const createFor: (initializer: ForInitializer | undefined, condition: Expression | undefined, incrementor: Expression | undefined, statement: Statement) => ForStatement;
|
||||
/** @deprecated Use `factory.updateForStatement` or the factory supplied by your transformation context instead. */
|
||||
const updateFor: (node: ForStatement, initializer: Expression | VariableDeclarationList | undefined, condition: Expression | undefined, incrementor: Expression | undefined, statement: Statement) => ForStatement;
|
||||
const updateFor: (node: ForStatement, initializer: ForInitializer | undefined, condition: Expression | undefined, incrementor: Expression | undefined, statement: Statement) => ForStatement;
|
||||
/** @deprecated Use `factory.createForInStatement` or the factory supplied by your transformation context instead. */
|
||||
const createForIn: (initializer: ForInitializer, expression: Expression, statement: Statement) => ForInStatement;
|
||||
/** @deprecated Use `factory.updateForInStatement` or the factory supplied by your transformation context instead. */
|
||||
@ -6860,9 +6860,9 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateEnumDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateEnumDeclaration: (node: EnumDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]) => EnumDeclaration;
|
||||
/** @deprecated Use `factory.createModuleDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const createModuleDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBlock | NamespaceDeclaration | Identifier | JSDocNamespaceDeclaration | undefined, flags?: NodeFlags | undefined) => ModuleDeclaration;
|
||||
const createModuleDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags | undefined) => ModuleDeclaration;
|
||||
/** @deprecated Use `factory.updateModuleDeclaration` or the factory supplied by your transformation context instead. */
|
||||
const updateModuleDeclaration: (node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBlock | NamespaceDeclaration | Identifier | JSDocNamespaceDeclaration | undefined) => ModuleDeclaration;
|
||||
const updateModuleDeclaration: (node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined) => ModuleDeclaration;
|
||||
/** @deprecated Use `factory.createModuleBlock` or the factory supplied by your transformation context instead. */
|
||||
const createModuleBlock: (statements: readonly Statement[]) => ModuleBlock;
|
||||
/** @deprecated Use `factory.updateModuleBlock` or the factory supplied by your transformation context instead. */
|
||||
@ -7020,7 +7020,7 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateCatchClause` or the factory supplied by your transformation context instead. */
|
||||
const updateCatchClause: (node: CatchClause, variableDeclaration: VariableDeclaration | undefined, block: Block) => CatchClause;
|
||||
/** @deprecated Use `factory.createPropertyAssignment` or the factory supplied by your transformation context instead. */
|
||||
const createPropertyAssignment: (name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, initializer: Expression) => PropertyAssignment;
|
||||
const createPropertyAssignment: (name: string | PropertyName, initializer: Expression) => PropertyAssignment;
|
||||
/** @deprecated Use `factory.updatePropertyAssignment` or the factory supplied by your transformation context instead. */
|
||||
const updatePropertyAssignment: (node: PropertyAssignment, name: PropertyName, initializer: Expression) => PropertyAssignment;
|
||||
/** @deprecated Use `factory.createShorthandPropertyAssignment` or the factory supplied by your transformation context instead. */
|
||||
@ -7032,7 +7032,7 @@ declare namespace ts {
|
||||
/** @deprecated Use `factory.updateSpreadAssignment` or the factory supplied by your transformation context instead. */
|
||||
const updateSpreadAssignment: (node: SpreadAssignment, expression: Expression) => SpreadAssignment;
|
||||
/** @deprecated Use `factory.createEnumMember` or the factory supplied by your transformation context instead. */
|
||||
const createEnumMember: (name: string | Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier, initializer?: Expression | undefined) => EnumMember;
|
||||
const createEnumMember: (name: string | PropertyName, initializer?: Expression | undefined) => EnumMember;
|
||||
/** @deprecated Use `factory.updateEnumMember` or the factory supplied by your transformation context instead. */
|
||||
const updateEnumMember: (node: EnumMember, name: PropertyName, initializer: Expression | undefined) => EnumMember;
|
||||
/** @deprecated Use `factory.updateSourceFile` or the factory supplied by your transformation context instead. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user