Apollo-link: Upgrade @types/zen-observable to 0.5.4

Created on 16 Jun 2018  ·  4Comments  ·  Source: apollographql/apollo-link

current version conflicts @types/node's newly added readonly modifier for the observable type
Referencing this issue: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/26239#issuecomment-395925181

Most helpful comment

Fixed in #681.

Just waiting on a release of apollo-link-polling and apollo-link-retry

All 4 comments

In the meantime, if you're using yarn, use the resolutions block in package.json to force 0.5.4 for zen-observable.

"resolutions": {
    "@types/zen-observable": "0.5.4"
}

This should be merged with highest priority!

Meanwhile:

npm i @types/[email protected]

did the same trick for me (NPM user).

Fixed in #681.

Just waiting on a release of apollo-link-polling and apollo-link-retry

This is fixed so closing this

Was this page helpful?
0 / 5 - 0 ratings