mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
31 lines
669 B
TypeScript
31 lines
669 B
TypeScript
//// [tests/cases/compiler/duplicateIdentifierRelatedSpans4.ts] ////
|
|
|
|
//// [file1.ts]
|
|
interface TopLevel {
|
|
duplicate1: () => string;
|
|
duplicate2: () => string;
|
|
duplicate3: () => string;
|
|
duplicate4: () => string;
|
|
duplicate5: () => string;
|
|
duplicate6: () => string;
|
|
duplicate7: () => string;
|
|
duplicate8: () => string;
|
|
}
|
|
//// [file2.ts]
|
|
interface TopLevel {
|
|
duplicate1(): number;
|
|
duplicate2(): number;
|
|
duplicate3(): number;
|
|
duplicate4(): number;
|
|
duplicate5(): number;
|
|
duplicate6(): number;
|
|
duplicate7(): number;
|
|
duplicate8(): number;
|
|
}
|
|
|
|
|
|
//// [file1.js]
|
|
"use strict";
|
|
//// [file2.js]
|
|
"use strict";
|