mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
294 B
TypeScript
9 lines
294 B
TypeScript
//// [tests/cases/conformance/types/objectTypeLiteral/callSignatures/specializedSignatureWithOptional.ts] ////
|
|
|
|
//// [specializedSignatureWithOptional.ts]
|
|
declare function f(x?: "hi"): void;
|
|
declare function f(x?: string): void;
|
|
|
|
//// [specializedSignatureWithOptional.js]
|
|
"use strict";
|