21 lines
409 B
Plaintext
21 lines
409 B
Plaintext
=== tests/cases/compiler/consumer.ts ===
|
|
|
|
import host = require("host");
|
|
>host : typeof host
|
|
|
|
var hostVar = host;
|
|
>hostVar : typeof host
|
|
>host : typeof host
|
|
|
|
var v = new hostVar.Host();
|
|
>v : host.Host
|
|
>new hostVar.Host() : host.Host
|
|
>hostVar.Host : typeof host.Host
|
|
>hostVar : typeof host
|
|
>Host : typeof host.Host
|
|
|
|
=== tests/cases/compiler/host.ts ===
|
|
export class Host { }
|
|
>Host : Host
|
|
|