Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 661 Bytes

es2018.asyncgenerator.d.ts.md

File metadata and controls

18 lines (16 loc) · 661 Bytes

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 = unknown>
+interface AsyncGenerator<T = unknown, TReturn = unknown, TNext = unknown>
   extends AsyncIterator<T, TReturn, TNext> {
   // 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(