/third_party/typescript/tests/baselines/reference/ |
D | correctOrderOfPromiseMethod.types | 33 …PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P… 35 …PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P… 79 …PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P… 81 …PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P…
|
D | inferenceLimit.types | 22 …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… 79 …PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P… 81 …PromiseLike<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
|
D | promiseType.types | 185 >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 …]
|
D | promiseTypeStrictNull.types | 185 >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 …]
|
D | inferFromGenericFunctionReturnTypes3.types | 10 >Promise.resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; } 12 >resolve : { (): Promise<void>; <T>(value: T | PromiseLike<T>): Promise<T>; } 416 …PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P… 418 …PromiseLike<T>>): Promise<T[]>; <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: readonly [T1 | P…
|
D | awaitUnion_es5.types | 5 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 …]
|
D | awaitUnion_es6.types | 5 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 …]
|
D | awaitUnion_es5.symbols | 5 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, --, --))
|
D | awaitUnion_es6.symbols | 5 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, --, --))
|
D | es5-asyncFunctionLongObjectLiteral.types | 15 >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 …]
|
D | types.asyncGenerators.es2018.1.types | 24 >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 …]
|
D | asyncFunctionContextuallyTypedReturns.types | 2 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 …]
|
D | promiseVoidErrorCallback.types | 22 >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…
|
D | asyncFunctionReturnType.types | 47 >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 …]
|
D | importCallExpressionShouldNotGetParen.types | 8 …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…
|
D | awaitUnion_es6.js | 3 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>;
|
D | promiseTest.types | 4 …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…
|
D | awaitUnion_es5.js | 3 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>;
|
D | destructureOfVariableSameAsShorthand.types | 17 …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…
|
D | contextuallyTypeAsyncFunctionReturnType.types | 20 >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
|
D | promisePermutations2.types | 6 …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/ |
D | es2015.promise.d.ts | 13 …new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) =… 21 …PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLik… 29 …PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLik… 37 …PromiseLike<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/ |
D | lib.es2015.promise.d.ts | 33 …new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) =… 41 …PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLik… 49 …PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLik… 57 …PromiseLike<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/ |
D | awaitUnion_es5.ts | 5 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/ |
D | awaitUnion_es6.ts | 4 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>;
|