TypeScript/tests/baselines/reference/moduleInTypePosition1.errors.txt
2014-09-11 16:11:08 -07:00

12 lines
420 B
Plaintext

==== tests/cases/compiler/moduleInTypePosition1_1.ts (1 errors) ====
///<reference path='moduleInTypePosition1_0.ts'/>
import WinJS = require('moduleInTypePosition1_0');
var x = (w1: WinJS) => { };
~~~~~
!!! error TS2304: Cannot find name 'WinJS'.
==== tests/cases/compiler/moduleInTypePosition1_0.ts (0 errors) ====
export class Promise {
foo: string;
}