diff --git a/promises-a-plus/promises-a-plus-tests.ts b/promises-a-plus/promises-a-plus-tests.ts
index fa1453645..29ca0989b 100644
--- a/promises-a-plus/promises-a-plus-tests.ts
+++ b/promises-a-plus/promises-a-plus-tests.ts
@@ -2,7 +2,8 @@
///
///
///
-///
+import When = require("../when/when");
+
var thenNum: PromisesAPlus.Thenable;
var thenStr: PromisesAPlus.Thenable;
diff --git a/when/when.d.ts b/when/when.d.ts
index 859618852..2af3fba9d 100644
--- a/when/when.d.ts
+++ b/when/when.d.ts
@@ -78,3 +78,5 @@ declare module When {
reason?: any;
}
}
+
+export = When;