10 lines
650 B
Plaintext
10 lines
650 B
Plaintext
=== tests/cases/conformance/types/objectTypeLiteral/callSignatures/specializedSignatureWithOptional.ts ===
|
|
declare function f(x?: "hi"): void;
|
|
>f : { (x?: "hi"): void; (x?: string): void; }, Symbol(f, Decl(specializedSignatureWithOptional.ts, 0, 0), Decl(specializedSignatureWithOptional.ts, 0, 35))
|
|
>x : "hi", Symbol(x, Decl(specializedSignatureWithOptional.ts, 0, 19))
|
|
|
|
declare function f(x?: string): void;
|
|
>f : { (x?: "hi"): void; (x?: string): void; }, Symbol(f, Decl(specializedSignatureWithOptional.ts, 0, 0), Decl(specializedSignatureWithOptional.ts, 0, 35))
|
|
>x : string, Symbol(x, Decl(specializedSignatureWithOptional.ts, 1, 19))
|
|
|