mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
312 B
TypeScript
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) { }
|
|
}
|