Vno
Vno copied to clipboard
Update dependencies to latest - Fix getIterator error
Fix:
error: TS2339 [ERROR]: Property 'getIterator' does not exist on type 'ReadableStream<R>'.
return res.readable.getIterator();
Update the std dependencies to the latest std 0.117.0
- update other dependencies to latest as well
- update lodash to
I tried to run deno install from your latest brunch and failed with other issues.
error: TS2322 [ERROR]: Type '{}' is not assignable to type 'RouteParams<R>'.
params: RouteParams<R> = {},
~~~~~~~~~~~~~~~~~~~~~~~~~~~
at https://deno.land/x/[email protected]/router.ts:223:3
TS2322 [ERROR]: Type '{}' is not assignable to type 'RouteParams<R>'.
let replace: RouteParams<R> = {};
~~~~~~~
at https://deno.land/x/[email protected]/router.ts:227:7
TS2322 [ERROR]: Type '{}' is not assignable to type 'RouteParams<R>'.
existingParams: RouteParams<R> = {},
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at https://deno.land/x/[email protected]/router.ts:301:5
TS2322 [ERROR]: Type '{}' is not assignable to type 'RouteParams<R>'.
params: RouteParams<R> = {},
~~~~~~~~~~~~~~~~~~~~~~~~~~~
at https://deno.land/x/[email protected]/router.ts:321:5
Found 4 errors.
This will need to be updated to v1.17.1 of deno which was just released last week.