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