@@ -3437,24 +3437,24 @@ namespace ts {
3437
3437
3438
3438
// TODO: GH#18217 `xToDeclaration` calls are frequently asserted as defined.
3439
3439
/** Note that the resulting nodes cannot be checked. */
3440
- typeToTypeNode ( type : Type , enclosingDeclaration ? : Node , flags ? : NodeBuilderFlags ) : TypeNode | undefined ;
3441
- /* @internal */ typeToTypeNode ( type : Type , enclosingDeclaration ? : Node , flags ? : NodeBuilderFlags , tracker ?: SymbolTracker ) : TypeNode | undefined ; // eslint-disable-line @typescript-eslint/unified-signatures
3440
+ typeToTypeNode ( type : Type , enclosingDeclaration : Node | undefined , flags : NodeBuilderFlags | undefined ) : TypeNode | undefined ;
3441
+ /* @internal */ typeToTypeNode ( type : Type , enclosingDeclaration : Node | undefined , flags : NodeBuilderFlags | undefined , tracker ?: SymbolTracker ) : TypeNode | undefined ; // eslint-disable-line @typescript-eslint/unified-signatures
3442
3442
/** Note that the resulting nodes cannot be checked. */
3443
- signatureToSignatureDeclaration ( signature : Signature , kind : SyntaxKind , enclosingDeclaration ? : Node , flags ? : NodeBuilderFlags ) : SignatureDeclaration & { typeArguments ?: NodeArray < TypeNode > } | undefined ;
3444
- /* @internal */ signatureToSignatureDeclaration ( signature : Signature , kind : SyntaxKind , enclosingDeclaration ? : Node , flags ? : NodeBuilderFlags , tracker ?: SymbolTracker ) : SignatureDeclaration & { typeArguments ?: NodeArray < TypeNode > } | undefined ; // eslint-disable-line @typescript-eslint/unified-signatures
3443
+ signatureToSignatureDeclaration ( signature : Signature , kind : SyntaxKind , enclosingDeclaration : Node | undefined , flags : NodeBuilderFlags | undefined ) : SignatureDeclaration & { typeArguments ?: NodeArray < TypeNode > } | undefined ;
3444
+ /* @internal */ signatureToSignatureDeclaration ( signature : Signature , kind : SyntaxKind , enclosingDeclaration : Node | undefined , flags : NodeBuilderFlags | undefined , tracker ?: SymbolTracker ) : SignatureDeclaration & { typeArguments ?: NodeArray < TypeNode > } | undefined ; // eslint-disable-line @typescript-eslint/unified-signatures
3445
3445
/** Note that the resulting nodes cannot be checked. */
3446
- indexInfoToIndexSignatureDeclaration ( indexInfo : IndexInfo , kind : IndexKind , enclosingDeclaration ? : Node , flags ? : NodeBuilderFlags ) : IndexSignatureDeclaration | undefined ;
3447
- /* @internal */ indexInfoToIndexSignatureDeclaration ( indexInfo : IndexInfo , kind : IndexKind , enclosingDeclaration ? : Node , flags ? : NodeBuilderFlags , tracker ?: SymbolTracker ) : IndexSignatureDeclaration | undefined ; // eslint-disable-line @typescript-eslint/unified-signatures
3446
+ indexInfoToIndexSignatureDeclaration ( indexInfo : IndexInfo , kind : IndexKind , enclosingDeclaration : Node | undefined , flags : NodeBuilderFlags | undefined ) : IndexSignatureDeclaration | undefined ;
3447
+ /* @internal */ indexInfoToIndexSignatureDeclaration ( indexInfo : IndexInfo , kind : IndexKind , enclosingDeclaration : Node | undefined , flags : NodeBuilderFlags | undefined , tracker ?: SymbolTracker ) : IndexSignatureDeclaration | undefined ; // eslint-disable-line @typescript-eslint/unified-signatures
3448
3448
/** Note that the resulting nodes cannot be checked. */
3449
- symbolToEntityName ( symbol : Symbol , meaning : SymbolFlags , enclosingDeclaration ? : Node , flags ? : NodeBuilderFlags ) : EntityName | undefined ;
3449
+ symbolToEntityName ( symbol : Symbol , meaning : SymbolFlags , enclosingDeclaration : Node | undefined , flags : NodeBuilderFlags | undefined ) : EntityName | undefined ;
3450
3450
/** Note that the resulting nodes cannot be checked. */
3451
- symbolToExpression ( symbol : Symbol , meaning : SymbolFlags , enclosingDeclaration ? : Node , flags ? : NodeBuilderFlags ) : Expression | undefined ;
3451
+ symbolToExpression ( symbol : Symbol , meaning : SymbolFlags , enclosingDeclaration : Node | undefined , flags : NodeBuilderFlags | undefined ) : Expression | undefined ;
3452
3452
/** Note that the resulting nodes cannot be checked. */
3453
- symbolToTypeParameterDeclarations ( symbol : Symbol , enclosingDeclaration ? : Node , flags ? : NodeBuilderFlags ) : NodeArray < TypeParameterDeclaration > | undefined ;
3453
+ symbolToTypeParameterDeclarations ( symbol : Symbol , enclosingDeclaration : Node | undefined , flags : NodeBuilderFlags | undefined ) : NodeArray < TypeParameterDeclaration > | undefined ;
3454
3454
/** Note that the resulting nodes cannot be checked. */
3455
- symbolToParameterDeclaration ( symbol : Symbol , enclosingDeclaration ? : Node , flags ? : NodeBuilderFlags ) : ParameterDeclaration | undefined ;
3455
+ symbolToParameterDeclaration ( symbol : Symbol , enclosingDeclaration : Node | undefined , flags : NodeBuilderFlags | undefined ) : ParameterDeclaration | undefined ;
3456
3456
/** Note that the resulting nodes cannot be checked. */
3457
- typeParameterToDeclaration ( parameter : TypeParameter , enclosingDeclaration ? : Node , flags ? : NodeBuilderFlags ) : TypeParameterDeclaration | undefined ;
3457
+ typeParameterToDeclaration ( parameter : TypeParameter , enclosingDeclaration : Node | undefined , flags : NodeBuilderFlags | undefined ) : TypeParameterDeclaration | undefined ;
3458
3458
3459
3459
getSymbolsInScope ( location : Node , meaning : SymbolFlags ) : Symbol [ ] ;
3460
3460
getSymbolAtLocation ( node : Node ) : Symbol | undefined ;
0 commit comments