7 lines
142 B
TypeScript
7 lines
142 B
TypeScript
//// [duplicateConstructSignature2.ts]
|
|
interface I<T> {
|
|
(x: T): number;
|
|
(x: T): string;
|
|
}
|
|
|
|
//// [duplicateConstructSignature2.js]
|