es2018.asynciterable.d.ts Diffs Index: es2018.asynciterable.d.ts =================================================================== --- es2018.asynciterable.d.ts +++ es2018.asynciterable.d.ts @@ -7,10 +7,9 @@ * the for-await-of statement. */ readonly asyncIterator: unique symbol; } - -interface AsyncIterator<T, TReturn = any, TNext = undefined> { +interface AsyncIterator<T, TReturn = unknown, TNext = undefined> { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>; return?( value?: TReturn | PromiseLike<TReturn>,