Skip to content

Update dependencies to latest - Fix getIterator error - #2

Open
kjpou1 wants to merge 3 commits into
open-source-labs:mainfrom
kjpou1:deps-std-latest
Open

Update dependencies to latest - Fix getIterator error#2
kjpou1 wants to merge 3 commits into
open-source-labs:mainfrom
kjpou1:deps-std-latest

Conversation

@kjpou1

@kjpou1 kjpou1 commented Dec 11, 2021

Copy link
Copy Markdown

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

```
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
@goodspeed34

goodspeed34 commented Dec 25, 2021

Copy link
Copy Markdown

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/oak@v10.0.0/router.ts:223:3

TS2322 [ERROR]: Type '{}' is not assignable to type 'RouteParams<R>'.
  let replace: RouteParams<R> = {};
      ~~~~~~~
    at https://deno.land/x/oak@v10.0.0/router.ts:227:7

TS2322 [ERROR]: Type '{}' is not assignable to type 'RouteParams<R>'.
    existingParams: RouteParams<R> = {},
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    at https://deno.land/x/oak@v10.0.0/router.ts:301:5

TS2322 [ERROR]: Type '{}' is not assignable to type 'RouteParams<R>'.
    params: RouteParams<R> = {},
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    at https://deno.land/x/oak@v10.0.0/router.ts:321:5

Found 4 errors.

@kjpou1

kjpou1 commented Dec 27, 2021

Copy link
Copy Markdown
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants