Adjusting test after changing when.d.ts.

Note: In opposite to other Promise implementation such as" promise-es6" or"Q" the implementation "when.js" is AMD/CommonJS aware und therefore needs to be loaded as an module (e.g. using "requirejs").
This commit is contained in:
pkaul
2014-03-18 22:17:58 +01:00
parent 0e7474da9e
commit 98a0894dff

View File

@@ -2,7 +2,8 @@
/// <reference path="../rx.js/rx.async.d.ts"/>
/// <reference path="../es6-promises/es6-promises.d.ts"/>
/// <reference path="../q/Q.d.ts"/>
/// <reference path="../when/when.d.ts"/>
import When = require("../when/when");
var thenNum: PromisesAPlus.Thenable<number>;
var thenStr: PromisesAPlus.Thenable<string>;