es2018.asyncgenerator.d.ts Diffs Index: es2018.asyncgenerator.d.ts =================================================================== --- es2018.asyncgenerator.d.ts +++ es2018.asyncgenerator.d.ts @@ -1,7 +1,5 @@ -/// <reference lib="es2018.asynciterable" /> - -interface AsyncGenerator<T = unknown, TReturn = any, TNext = any> +interface AsyncGenerator<T = unknown, TReturn = unknown, TNext = unknown> extends AsyncIteratorObject<T, TReturn, TNext> { // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places. next(...[value]: [] | [TNext]): Promise<IteratorResult<T, TReturn>>; return(