Files
tsgo/testdata/baselines/reference/submodule/compiler/classWithOverloadImplementationOfWrongName2.js

15 lines
312 B
TypeScript

//// [tests/cases/compiler/classWithOverloadImplementationOfWrongName2.ts] ////
//// [classWithOverloadImplementationOfWrongName2.ts]
class C {
foo(): string;
bar(x): any { }
foo(x): number;
}
//// [classWithOverloadImplementationOfWrongName2.js]
"use strict";
class C {
bar(x) { }
}