9 lines
230 B
JavaScript
9 lines
230 B
JavaScript
//// [overloadingOnConstantsInImplementation.ts]
|
|
function foo(a: 'hi', x: string);
|
|
function foo(a: 'hi', x: string);
|
|
function foo(a: 'hi', x: any) {
|
|
}
|
|
|
|
//// [overloadingOnConstantsInImplementation.js]
|
|
function foo(a, x) {
|
|
}
|