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