2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/moduleInTypePosition1_1.ts(3,14): error TS2304: Cannot find name 'WinJS'.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/moduleInTypePosition1_1.ts (1 errors) ====
|
|
|
|
///<reference path='moduleInTypePosition1_0.ts'/>
|
|
|
|
import WinJS = require('moduleInTypePosition1_0');
|
|
|
|
var x = (w1: WinJS) => { };
|
|
|
|
~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'WinJS'.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
==== tests/cases/compiler/moduleInTypePosition1_0.ts (0 errors) ====
|
|
|
|
export class Promise {
|
|
|
|
foo: string;
|
|
|
|
}
|
|
|
|
|