Home
last modified time | relevance | path

Searched refs:PromiseLike (Results 1 – 25 of 145) sorted by relevance

123456

/third_party/typescript/tests/baselines/reference/
DcorrectOrderOfPromiseMethod.types33PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P…
35PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P…
79PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P…
81PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P…
DinferenceLimit.types22 …esolve(orders); }); } : (resolve: (value: MyModule.MyModel[] | PromiseLike<MyModule.MyMode…
23 >resolve : (value: MyModule.MyModel[] | PromiseLike<MyModule.MyModel[]>) => void
45 …ulfilled?: (value: void) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
55 …ulfilled?: (value: void) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
77 …led?: (value: unknown[]) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
79PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P…
81PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P…
89 …led?: (value: unknown[]) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
96 >resolve : (value: MyModule.MyModel[] | PromiseLike<MyModule.MyModel[]>) => void
DpromiseType.types185 >p.catch : <TResult = never>(onrejected?: (reason: any) => TResult | PromiseLike<TResult>) => Promi…
187 >catch : <TResult = never>(onrejected?: (reason: any) => TResult | PromiseLike<TResult>) => Promise…
192 …illed?: (value: boolean) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
194 …illed?: (value: boolean) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
199 >p.catch : <TResult = never>(onrejected?: (reason: any) => TResult | PromiseLike<TResult>) => Promi…
201 >catch : <TResult = never>(onrejected?: (reason: any) => TResult | PromiseLike<TResult>) => Promise…
207 >p.catch : <TResult = never>(onrejected?: (reason: any) => TResult | PromiseLike<TResult>) => Promi…
209 >catch : <TResult = never>(onrejected?: (reason: any) => TResult | PromiseLike<TResult>) => Promise…
215 >p.catch : <TResult = never>(onrejected?: (reason: any) => TResult | PromiseLike<TResult>) => Promi…
217 >catch : <TResult = never>(onrejected?: (reason: any) => TResult | PromiseLike<TResult>) => Promise…
[all …]
DpromiseTypeStrictNull.types185 >p.catch : <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null …
187 >catch : <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | …
192 …lue: boolean) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any)…
194 …lue: boolean) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any)…
199 >p.catch : <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null …
201 >catch : <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | …
207 >p.catch : <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null …
209 >catch : <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | …
215 >p.catch : <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null …
217 >catch : <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | …
[all …]
DinferFromGenericFunctionReturnTypes3.types10 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
12 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
416PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P…
418PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P…
DawaitUnion_es5.types5 declare let b: PromiseLike<number> | PromiseLike<string>;
6 >b : PromiseLike<number> | PromiseLike<string>
8 declare let c: PromiseLike<number | string>;
9 >c : PromiseLike<string | number>
11 declare let d: number | PromiseLike<string>;
12 >d : number | PromiseLike<string>
14 declare let e: number | PromiseLike<number | string>;
15 >e : number | PromiseLike<string | number>
28 >b : PromiseLike<number> | PromiseLike<string>
33 >c : PromiseLike<string | number>
[all …]
DawaitUnion_es6.types5 declare let b: PromiseLike<number> | PromiseLike<string>;
6 >b : PromiseLike<number> | PromiseLike<string>
8 declare let c: PromiseLike<number | string>;
9 >c : PromiseLike<string | number>
11 declare let d: number | PromiseLike<string>;
12 >d : number | PromiseLike<string>
14 declare let e: number | PromiseLike<number | string>;
15 >e : number | PromiseLike<string | number>
28 >b : PromiseLike<number> | PromiseLike<string>
33 >c : PromiseLike<string | number>
[all …]
DawaitUnion_es5.symbols5 declare let b: PromiseLike<number> | PromiseLike<string>;
7 >PromiseLike : Symbol(PromiseLike, Decl(lib.es5.d.ts, --, --))
8 >PromiseLike : Symbol(PromiseLike, Decl(lib.es5.d.ts, --, --))
10 declare let c: PromiseLike<number | string>;
12 >PromiseLike : Symbol(PromiseLike, Decl(lib.es5.d.ts, --, --))
14 declare let d: number | PromiseLike<string>;
16 >PromiseLike : Symbol(PromiseLike, Decl(lib.es5.d.ts, --, --))
18 declare let e: number | PromiseLike<number | string>;
20 >PromiseLike : Symbol(PromiseLike, Decl(lib.es5.d.ts, --, --))
DawaitUnion_es6.symbols5 declare let b: PromiseLike<number> | PromiseLike<string>;
7 >PromiseLike : Symbol(PromiseLike, Decl(lib.es5.d.ts, --, --))
8 >PromiseLike : Symbol(PromiseLike, Decl(lib.es5.d.ts, --, --))
10 declare let c: PromiseLike<number | string>;
12 >PromiseLike : Symbol(PromiseLike, Decl(lib.es5.d.ts, --, --))
14 declare let d: number | PromiseLike<string>;
16 >PromiseLike : Symbol(PromiseLike, Decl(lib.es5.d.ts, --, --))
18 declare let e: number | PromiseLike<number | string>;
20 >PromiseLike : Symbol(PromiseLike, Decl(lib.es5.d.ts, --, --))
Des5-asyncFunctionLongObjectLiteral.types15 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
17 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
24 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
26 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
33 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
35 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
42 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
44 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
51 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
53 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
[all …]
Dtypes.asyncGenerators.es2018.1.types24 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
26 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
39 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
41 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
60 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
62 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
92 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
94 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
117 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
119 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
[all …]
DasyncFunctionContextuallyTypedReturns.types2 declare function f(cb: (v: boolean) => [0] | PromiseLike<[0]>): void;
3 >f : (cb: (v: boolean) => [0] | PromiseLike<[0]>) => void
4 >cb : (v: boolean) => [0] | PromiseLike<[0]>
9 >f : (cb: (v: boolean) => [0] | PromiseLike<[0]>) => void
23 >f : (cb: (v: boolean) => [0] | PromiseLike<[0]>) => void
35 declare function g(cb: (v: boolean) => "contextuallyTypable" | PromiseLike<"contextuallyTypable">):…
36 >g : (cb: (v: boolean) => "contextuallyTypable" | PromiseLike<"contextuallyTypable">) => void
37 >cb : (v: boolean) => "contextuallyTypable" | PromiseLike<"contextuallyTypable">
42 >g : (cb: (v: boolean) => "contextuallyTypable" | PromiseLike<"contextuallyTypable">) => void
55 >g : (cb: (v: boolean) => "contextuallyTypable" | PromiseLike<"contextuallyTypable">) => void
[all …]
DpromiseVoidErrorCallback.types22 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
24 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
47 …nfulfilled?: (value: T2) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
49 …nfulfilled?: (value: T1) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
54 …nfulfilled?: (value: T1) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
64 …nfulfilled?: (value: T2) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
DasyncFunctionReturnType.types47 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
49 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
61 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
63 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
85 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
87 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
99 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
101 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
123 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
125 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; }
[all …]
DimportCallExpressionShouldNotGetParen.types8 …fulfilled?: (value: any) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
12 …fulfilled?: (value: any) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
24 …fulfilled?: (value: any) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
31 …fulfilled?: (value: any) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
DawaitUnion_es6.js3 declare let b: PromiseLike<number> | PromiseLike<string>;
4 declare let c: PromiseLike<number | string>;
5 declare let d: number | PromiseLike<string>;
6 declare let e: number | PromiseLike<number | string>;
DpromiseTest.types4 …onfulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
9 …onfulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
24 …filled?: (value: number) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
26 …filled?: (value: number) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
DawaitUnion_es5.js3 declare let b: PromiseLike<number> | PromiseLike<string>;
4 declare let c: PromiseLike<number | string>;
5 declare let d: number | PromiseLike<string>;
6 declare let e: number | PromiseLike<number | string>;
DdestructureOfVariableSameAsShorthand.types17 …e: AxiosResponse<never>) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
20 …e: AxiosResponse<never>) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
34 …e: AxiosResponse<never>) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
37 …e: AxiosResponse<never>) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
DcontextuallyTypeAsyncFunctionReturnType.types20 >resolve => { resolve({ key: "value" }); } : (resolve: (value: Obj | PromiseLike<Obj>) =>…
21 >resolve : (value: Obj | PromiseLike<Obj>) => void
25 >resolve : (value: Obj | PromiseLike<Obj>) => void
50 >resolve => { resolve({ key: "value" }); } : (resolve: (value: Obj | PromiseLike<Obj>) =>…
51 >resolve : (value: Obj | PromiseLike<Obj>) => void
55 >resolve : (value: Obj | PromiseLike<Obj>) => void
DpromisePermutations2.types6 …onfulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
250 …filled?: (value: number) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
252 …filled?: (value: number) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
260 …filled?: (value: number) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
262 …filled?: (value: number) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
270 …filled?: (value: number) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
272 …filled?: (value: number) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
280 …value: IPromise<number>) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
282 …filled?: (value: number) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
284 …filled?: (value: number) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResul…
[all …]
/third_party/typescript/src/lib/
Des2015.promise.d.ts13 …new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) =…
21PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLik…
29PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLik…
37PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLik…
45 …T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | Promi…
53 … readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>,…
61 …T5>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | Promi…
69 …1, T2, T3, T4>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>,…
77 …all<T1, T2, T3>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>…
85 all<T1, T2>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>]): Promise<[T1, T2]>;
[all …]
/third_party/typescript/lib/
Dlib.es2015.promise.d.ts33 …new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) =…
41PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLik…
49PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLik…
57PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLik…
65 …T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | Promi…
73 … readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>,…
81 …T5>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | Promi…
89 …1, T2, T3, T4>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>,…
97 …all<T1, T2, T3>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>…
105 all<T1, T2>(values: readonly [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>]): Promise<[T1, T2]>;
[all …]
/third_party/typescript/tests/cases/conformance/async/es5/
DawaitUnion_es5.ts5 declare let b: PromiseLike<number> | PromiseLike<string>;
6 declare let c: PromiseLike<number | string>;
7 declare let d: number | PromiseLike<string>;
8 declare let e: number | PromiseLike<number | string>;
/third_party/typescript/tests/cases/conformance/async/es6/
DawaitUnion_es6.ts4 declare let b: PromiseLike<number> | PromiseLike<string>;
5 declare let c: PromiseLike<number | string>;
6 declare let d: number | PromiseLike<string>;
7 declare let e: number | PromiseLike<number | string>;

123456