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