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

15 lines
309 B
TypeScript

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