mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-06 12:30:10 +08:00
Add test for new when signature
This commit is contained in:
1 parent
456388ff73
commit
c85918d0e8
1 file changed
+1
@@ -94,6 +94,7 @@ Q.fbind((dateString?: string) => new Date(dateString), "11/11/1991")().then(d =>
|
||||
|
||||
Q.when(8, num => num + "!");
|
||||
Q.when(Q(8), num => num + "!").then(str => str.split(','));
|
||||
var voidPromise: Q.Promise<void> = Q.when();
|
||||
|
||||
declare function saveToDisk(): Q.Promise<any>;
|
||||
declare function saveToCloud(): Q.Promise<any>;
|
||||
|
||||
Reference in new issue
Block a user