TypeScript/tests/baselines/reference/moduleInTypePosition1.symbols
Anders Hejlsberg a4f9bf0fce
Create type aliases for unresolved type symbols (#45976)
* Create type aliases for unresolved type symbols

* Accept new baselines

* Update fourslash tests

* Unresolved import aliases create tagged unresolved symbols

* Add comments

* Accept new baselines

* Add fourslash tests
2021-09-23 13:21:27 -07:00

19 lines
640 B
Plaintext

=== tests/cases/compiler/moduleInTypePosition1_1.ts ===
///<reference path='moduleInTypePosition1_0.ts'/>
import WinJS = require('./moduleInTypePosition1_0');
>WinJS : Symbol(WinJS, Decl(moduleInTypePosition1_1.ts, 0, 0))
var x = (w1: WinJS) => { };
>x : Symbol(x, Decl(moduleInTypePosition1_1.ts, 2, 3))
>w1 : Symbol(w1, Decl(moduleInTypePosition1_1.ts, 2, 9))
>WinJS : Symbol(WinJS)
=== tests/cases/compiler/moduleInTypePosition1_0.ts ===
export class Promise {
>Promise : Symbol(Promise, Decl(moduleInTypePosition1_0.ts, 0, 0))
foo: string;
>foo : Symbol(Promise.foo, Decl(moduleInTypePosition1_0.ts, 0, 22))
}