19 lines
584 B
Text
19 lines
584 B
Text
=== tests/cases/compiler/consumer.ts ===
|
|
|
|
import host = require("host");
|
|
>host : Symbol(host, Decl(consumer.ts, 0, 0))
|
|
|
|
var hostVar = host;
|
|
>hostVar : Symbol(hostVar, Decl(consumer.ts, 2, 3))
|
|
>host : Symbol(host, Decl(consumer.ts, 0, 0))
|
|
|
|
var v = new hostVar.Host();
|
|
>v : Symbol(v, Decl(consumer.ts, 3, 3))
|
|
>hostVar.Host : Symbol(host.Host, Decl(host.ts, 0, 0))
|
|
>hostVar : Symbol(hostVar, Decl(consumer.ts, 2, 3))
|
|
>Host : Symbol(host.Host, Decl(host.ts, 0, 0))
|
|
|
|
=== tests/cases/compiler/host.ts ===
|
|
export class Host { }
|
|
>Host : Symbol(Host, Decl(host.ts, 0, 0))
|
|
|