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