X-Git-Url: https://git.josue.xyz/?p=dotfiles%2F.git;a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-tsserver%2Fnode_modules%2Ftypescript%2Flib%2Flib.es2015.promise.d.ts;h=ef0c1df92df31a90543c9b151f09f2bc353c887c;hp=372966c0267e88a8067ae1b89161c3d146abf405;hb=4d07c77cf4d78cab8639e13ddc3c22495e585b0b;hpb=b3950616b54221c40a7dab9099bda675007e5b6e diff --git a/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2015.promise.d.ts b/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2015.promise.d.ts index 372966c0..ef0c1df9 100644 --- a/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2015.promise.d.ts +++ b/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2015.promise.d.ts @@ -30,7 +30,7 @@ interface PromiseConstructor { * a resolve callback used to resolve the promise with a value or the result of another promise, * and a reject callback used to reject the promise with a provided reason or error. */ - new (executor: (resolve: (value?: T | PromiseLike) => void, reject: (reason?: any) => void) => void): Promise; + new (executor: (resolve: (value: T | PromiseLike) => void, reject: (reason?: any) => void) => void): Promise; /** * Creates a Promise that is resolved with an array of results when all of the provided Promises @@ -133,18 +133,18 @@ interface PromiseConstructor { */ reject(reason?: any): Promise; + /** + * Creates a new resolved promise. + * @returns A resolved promise. + */ + resolve(): Promise; + /** * Creates a new resolved promise for the provided value. * @param value A promise. * @returns A promise whose internal state matches the provided promise. */ resolve(value: T | PromiseLike): Promise; - - /** - * Creates a new resolved promise . - * @returns A resolved promise. - */ - resolve(): Promise; } declare var Promise: PromiseConstructor;