mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 13:27:15 +08:00
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:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user