2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/consumer.ts ===
|
|
|
|
|
|
|
|
import host = require("host");
|
2014-08-28 21:40:58 +02:00
|
|
|
>host : typeof host
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var hostVar = host;
|
2014-08-25 19:36:12 +02:00
|
|
|
>hostVar : typeof host
|
|
|
|
>host : typeof host
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var v = new hostVar.Host();
|
2014-08-25 19:36:12 +02:00
|
|
|
>v : host.Host
|
|
|
|
>new hostVar.Host() : host.Host
|
|
|
|
>hostVar.Host : typeof host.Host
|
|
|
|
>hostVar : typeof host
|
|
|
|
>Host : typeof host.Host
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
=== tests/cases/compiler/host.ts ===
|
|
|
|
export class Host { }
|
|
|
|
>Host : Host
|
|
|
|
|