13 lines
271 B
TypeScript
13 lines
271 B
TypeScript
//// [duplicateConstructorOverloadSignature.ts]
|
|
class C {
|
|
constructor(x: number);
|
|
constructor(x: number);
|
|
constructor(x: any) { }
|
|
}
|
|
|
|
//// [duplicateConstructorOverloadSignature.js]
|
|
var C = (function () {
|
|
function C(x) {
|
|
}
|
|
return C;
|
|
})();
|