##// END OF EJS Templates
Switched to dojo-typings...
Switched to dojo-typings Added TNode type parameter to BuildContext custom dojo typings are going to be removed

File last commit:

r2:8ec37bf1b4d1 default
r22:a1ab2b5975ad v1.0.0-rc10 default
Show More
first.d.ts
15 lines | 595 B | video/mp2t | TypeScriptLexer
cin
created typings for basic part of dojo and dijit further work is required to...
r2 import { PromiseTypedObjectOrArray, PromiseObjectOrArray } from "../interfaces";
interface First {
/**
* Takes multiple promises and returns a new promise that is fulfilled
* when the first of these promises is fulfilled.
* @param objectOrArray The promises are taken from the array or object values. If no value
* is passed, the returned promise is resolved with an undefined value.
*/
<T>(objectOrArray?: PromiseTypedObjectOrArray<T>): Promise<T>;
(objectOrArray?: PromiseObjectOrArray): Promise<any>;
}
declare const First: First;
export = First;