Vno icon indicating copy to clipboard operation
Vno copied to clipboard

Update dependencies to latest - Fix getIterator error

Open kjpou1 opened this issue 4 years ago • 2 comments

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

kjpou1 avatar Dec 11 '21 06:12 kjpou1

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.

goodspeed34 avatar Dec 25 '21 02:12 goodspeed34

This will need to be updated to v1.17.1 of deno which was just released last week.

kjpou1 avatar Dec 27 '21 06:12 kjpou1