Home
last modified time | relevance | path

Searched refs:InfinitePromise (Results 1 – 5 of 5) sorted by relevance

/third_party/typescript/tests/baselines/reference/
DrecursiveConditionalTypes.js13 type InfinitePromise<T> = Promise<InfinitePromise<T>>;
17 type P2 = Awaited<InfinitePromise<number>>; // Error
178 declare type InfinitePromise<T> = Promise<InfinitePromise<T>>;
181 declare type P2 = Awaited<InfinitePromise<number>>;
DrecursiveConditionalTypes.types23 type InfinitePromise<T> = Promise<InfinitePromise<T>>;
24 >InfinitePromise : InfinitePromise<T>
33 type P2 = Awaited<InfinitePromise<number>>; // Error
DrecursiveConditionalTypes.symbols39 type InfinitePromise<T> = Promise<InfinitePromise<T>>;
40 >InfinitePromise : Symbol(InfinitePromise, Decl(recursiveConditionalTypes.ts, 9, 1))
43 >InfinitePromise : Symbol(InfinitePromise, Decl(recursiveConditionalTypes.ts, 9, 1))
57 type P2 = Awaited<InfinitePromise<number>>; // Error
60 >InfinitePromise : Symbol(InfinitePromise, Decl(recursiveConditionalTypes.ts, 9, 1))
DrecursiveConditionalTypes.errors.txt46 type InfinitePromise<T> = Promise<InfinitePromise<T>>;
50 type P2 = Awaited<InfinitePromise<number>>; // Error
/third_party/typescript/tests/cases/compiler/
DrecursiveConditionalTypes.ts16 type InfinitePromise<T> = Promise<InfinitePromise<T>>; alias
20 type P2 = Awaited<InfinitePromise<number>>; // Error