mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
486 B
Plaintext
24 lines
486 B
Plaintext
//// [tests/cases/compiler/duplicateIdentifierRelatedSpans1.ts] ////
|
|
|
|
=== file1.ts ===
|
|
class Foo { }
|
|
>Foo : Symbol(Foo, Decl(file1.ts, 0, 0))
|
|
|
|
const Bar = 3;
|
|
>Bar : Symbol(Bar, Decl(file1.ts, 1, 5))
|
|
|
|
=== file2.ts ===
|
|
type Foo = number;
|
|
>Foo : Symbol(Foo, Decl(file2.ts, 0, 0))
|
|
|
|
class Bar {}
|
|
>Bar : Symbol(Bar, Decl(file2.ts, 0, 18))
|
|
|
|
=== file3.ts ===
|
|
type Foo = 54;
|
|
>Foo : Symbol(Foo, Decl(file3.ts, 0, 0))
|
|
|
|
let Bar = 42
|
|
>Bar : Symbol(Bar, Decl(file3.ts, 1, 3))
|
|
|