mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
23 lines
449 B
TypeScript
23 lines
449 B
TypeScript
//// [tests/cases/compiler/callSignatureFunctionOverload.ts] ////
|
|
|
|
//// [callSignatureFunctionOverload.ts]
|
|
var foo: {
|
|
(name: string): string;
|
|
(name: 'order'): string;
|
|
(name: 'content'): string;
|
|
(name: 'done'): string;
|
|
}
|
|
|
|
var foo2: {
|
|
(name: string): string;
|
|
(name: 'order'): string;
|
|
(name: 'order'): string;
|
|
(name: 'done'): string;
|
|
}
|
|
|
|
|
|
//// [callSignatureFunctionOverload.js]
|
|
"use strict";
|
|
var foo;
|
|
var foo2;
|