5 lines
165 B
TypeScript
5 lines
165 B
TypeScript
//// [specializedSignatureWithOptional.ts]
|
|
declare function f(x?: "hi"): void;
|
|
declare function f(x?: string): void;
|
|
|
|
//// [specializedSignatureWithOptional.js]
|