/third_party/typescript/tests/cases/conformance/types/asyncGenerators/ |
D | types.asyncGenerators.es2018.1.ts | 58 const assignability11: () => AsyncIterator<number> = async function * () { 61 const assignability12: () => AsyncIterator<number> = async function * () { 64 const assignability13: () => AsyncIterator<number> = async function * () { 67 const assignability14: () => AsyncIterator<number> = async function * () { 70 const assignability15: () => AsyncIterator<number> = async function * () { 103 async function * explicitReturnType11(): AsyncIterator<number> { 106 async function * explicitReturnType12(): AsyncIterator<number> { 109 async function * explicitReturnType13(): AsyncIterator<number> { 112 async function * explicitReturnType14(): AsyncIterator<number> { 115 async function * explicitReturnType15(): AsyncIterator<number> {
|
D | types.asyncGenerators.es2018.2.ts | 31 const assignability7: () => AsyncIterator<number> = async function * () { 34 const assignability8: () => AsyncIterator<number> = async function * () { 37 const assignability9: () => AsyncIterator<number> = async function * () { 58 async function * explicitReturnType7(): AsyncIterator<number> { 61 async function * explicitReturnType8(): AsyncIterator<number> { 64 async function * explicitReturnType9(): AsyncIterator<number> {
|
/third_party/typescript/tests/baselines/reference/ |
D | types.asyncGenerators.es2018.2.symbols | 57 const assignability7: () => AsyncIterator<number> = async function * () { 59 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) 63 const assignability8: () => AsyncIterator<number> = async function * () { 65 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) 69 const assignability9: () => AsyncIterator<number> = async function * () { 71 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) 111 async function * explicitReturnType7(): AsyncIterator<number> { 113 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) 117 async function * explicitReturnType8(): AsyncIterator<number> { 119 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) [all …]
|
D | types.asyncGenerators.es2018.1.symbols | 126 const assignability11: () => AsyncIterator<number> = async function * () { 128 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) 132 const assignability12: () => AsyncIterator<number> = async function * () { 134 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) 142 const assignability13: () => AsyncIterator<number> = async function * () { 144 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) 148 const assignability14: () => AsyncIterator<number> = async function * () { 150 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) 158 const assignability15: () => AsyncIterator<number> = async function * () { 160 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) [all …]
|
D | types.asyncGenerators.es2018.2.types | 96 const assignability7: () => AsyncIterator<number> = async function * () { 97 >assignability7 : () => AsyncIterator<number> 105 const assignability8: () => AsyncIterator<number> = async function * () { 106 >assignability8 : () => AsyncIterator<number> 116 const assignability9: () => AsyncIterator<number> = async function * () { 117 >assignability9 : () => AsyncIterator<number> 183 async function * explicitReturnType7(): AsyncIterator<number> { 184 >explicitReturnType7 : () => AsyncIterator<number> 190 async function * explicitReturnType8(): AsyncIterator<number> { 191 >explicitReturnType8 : () => AsyncIterator<number> [all …]
|
D | types.asyncGenerators.es2018.1.types | 196 const assignability11: () => AsyncIterator<number> = async function * () { 197 >assignability11 : () => AsyncIterator<number> 205 const assignability12: () => AsyncIterator<number> = async function * () { 206 >assignability12 : () => AsyncIterator<number> 218 const assignability13: () => AsyncIterator<number> = async function * () { 219 >assignability13 : () => AsyncIterator<number> 229 const assignability14: () => AsyncIterator<number> = async function * () { 230 >assignability14 : () => AsyncIterator<number> 243 const assignability15: () => AsyncIterator<number> = async function * () { 244 >assignability15 : () => AsyncIterator<number> [all …]
|
D | types.asyncGenerators.es2018.2.errors.txt | 27 …cGenerator<string, void, undefined>' is not assignable to type '() => AsyncIterator<number, any, u… 28 …Type 'AsyncGenerator<string, void, undefined>' is not assignable to type 'AsyncIterator<number, an… 29 …cGenerator<string, void, undefined>' is not assignable to type '() => AsyncIterator<number, any, u… 30 …Type 'AsyncGenerator<string, void, undefined>' is not assignable to type 'AsyncIterator<number, an… 31 …yncGenerator<string, void, unknown>' is not assignable to type '() => AsyncIterator<number, any, u… 32 …Type 'AsyncGenerator<string, void, unknown>' is not assignable to type 'AsyncIterator<number, any,… 114 const assignability7: () => AsyncIterator<number> = async function * () { 116 …cGenerator<string, void, undefined>' is not assignable to type '() => AsyncIterator<number, any, u… 117 … 'AsyncGenerator<string, void, undefined>' is not assignable to type 'AsyncIterator<number, any, u… 120 const assignability8: () => AsyncIterator<number> = async function * () { [all …]
|
D | unionAndIntersectionInference3.types | 22 …() => Iterator<S, U, R> | AsyncIterator<S, U, R>) => Promise<U> = async <U, R, S>(com: () => Itera… 23 >g : <U, R, S>(com: () => Iterator<S, U, R> | AsyncIterator<S, U, R>) => Promise<U> 24 >com : () => Iterator<S, U, R> | AsyncIterator<S, U, R> 25 … Iterator<S, U, R> | AsyncIterator<S, U, R>): Promise<U> => { throw com;} : <U, R, S>(com: () => … 26 >com : () => Iterator<S, U, R> | AsyncIterator<S, U, R> 29 >com : () => Iterator<S, U, R> | AsyncIterator<S, U, R>
|
D | customAsyncIterator.symbols | 3 class ConstantIterator<T> implements AsyncIterator<T, undefined, T | undefined> { 6 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
|
D | didYouMeanSuggestionErrors.types | 24 …olve(0); const i: Iterator<any> = null as any; const j: AsyncIterator<any> = null as… 27 …olve(0); const i: Iterator<any> = null as any; const j: AsyncIterator<any> = null as… 30 …olve(0); const i: Iterator<any> = null as any; const j: AsyncIterator<any> = null as… 33 …olve(0); const i: Iterator<any> = null as any; const j: AsyncIterator<any> = null as… 109 const j: AsyncIterator<any> = null as any;
|
D | unionAndIntersectionInference3.js | 10 …() => Iterator<S, U, R> | AsyncIterator<S, U, R>) => Promise<U> = async <U, R, S>(com: () => Itera…
|
D | customAsyncIterator.js | 3 class ConstantIterator<T> implements AsyncIterator<T, undefined, T | undefined> {
|
D | unionAndIntersectionInference3.symbols | 24 …() => Iterator<S, U, R> | AsyncIterator<S, U, R>) => Promise<U> = async <U, R, S>(com: () => Itera… 34 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --)) 48 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
|
D | didYouMeanSuggestionErrors.js | 25 const j: AsyncIterator<any> = null as any;
|
D | customAsyncIterator.types | 3 class ConstantIterator<T> implements AsyncIterator<T, undefined, T | undefined> {
|
/third_party/typescript/lib/ |
D | lib.es2018.asynciterable.d.ts | 32 interface AsyncIterator<T, TReturn = any, TNext = undefined> { interface 40 [Symbol.asyncIterator](): AsyncIterator<T>; 43 interface AsyncIterableIterator<T> extends AsyncIterator<T> {
|
D | lib.es2018.asyncgenerator.d.ts | 23 interface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TRet…
|
/third_party/typescript/src/lib/ |
D | es2018.asynciterable.d.ts | 12 interface AsyncIterator<T, TReturn = any, TNext = undefined> { interface 20 [Symbol.asyncIterator](): AsyncIterator<T>; 23 interface AsyncIterableIterator<T> extends AsyncIterator<T> {
|
D | es2018.asyncgenerator.d.ts | 3 interface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TRet…
|
/third_party/typescript/tests/cases/conformance/types/typeRelationships/typeInference/ |
D | unionAndIntersectionInference3.ts | 12 …() => Iterator<S, U, R> | AsyncIterator<S, U, R>) => Promise<U> = async <U, R, S>(com: () => Itera…
|
/third_party/typescript/tests/cases/compiler/ |
D | customAsyncIterator.ts | 4 class ConstantIterator<T> implements AsyncIterator<T, undefined, T | undefined> {
|
D | didYouMeanSuggestionErrors.ts | 25 const j: AsyncIterator<any> = null as any;
|
/third_party/typescript_eslint/packages/scope-manager/src/lib/ |
D | esnext.asynciterable.ts | 18 AsyncIterator: {
|
D | es2018.asynciterable.ts | 18 AsyncIterator: {
|
/third_party/python/Lib/ |
D | _collections_abc.py | 172 return AsyncIterator() 183 class AsyncIterator(AsyncIterable): class 197 if cls is AsyncIterator: 202 class AsyncGenerator(AsyncIterator):
|