TypeScript/tests/cases/compiler/duplicateIdentifierRelatedSpans3.ts
Wesley Wigham 7084e6cf47
Adds related spans and error grouping for duplicate identifier errors (#25328)
* Adds related spans and error grouping for duplicate identifier errors

* Trim trailing whitespace

* Record related info in error baselines

* Make error more whimsical
2018-07-02 10:47:52 -07:00

14 lines
290 B
TypeScript

// @pretty: true
// @filename: file1.ts
interface TopLevel {
duplicate1: () => string;
duplicate2: () => string;
duplicate3: () => string;
}
// @filename: file2.ts
interface TopLevel {
duplicate1(): number;
duplicate2(): number;
duplicate3(): number;
}