Mobx 5.8.0 build error, downgrade to 5.7.0 fixed my problem
See original GitHub issueI have an issue: Mobx 5.8.0 Build Error
../../node_modules/mobx/lib/api/flow.d.ts:9:62 - error TS2370: A rest parameter must be of an array type.
export declare function flow<T, U extends any[]>(generator: (...args: U) => FlowIterator<any>): (...args: U) => CancellablePromise<T>;
Downgrade to 5.7.0 fix my problem.
Hope to fixed this problem;
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Changelog - Cypress Documentation
Fixed an issue with Angular Component Testing where urls within SASS/SCSS files were not being correctly resolved which could result in incomplete styling....
Read more >Package Diff: mobx @ 5.8.0 .. 5.9.4
Visual diff of the npm package 'mobx' comparing 5.8.0 with 5.9.4.
Read more >Alternatives and detailed information of React Storefront
Fix regression where fromOrigin routes fail during local development with the message: "Error: fromOrigin is only supported when running in the Moovweb XDN....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi there, I’ve just recently come across this issue as well. So looks like the solution here is to upgrade TS to 3?
should this change have been a minor version bump then? (fwiw upgrading to TS3 has caused me no issues, but just seems weird that a minor bump would require a major version update of another package)
That is a good question, semver doesn’t really capture changes in tool or peer dependencies. So in the MobX repositories for now we followed the most common best practice used by other TypeScript based projects: a minor update (there are no breaking api’s, semantics or migration guides, but a peer dependency upgrade (in this case TS) is required, as stated in the changelog)
Op wo 26 dec. 2018 om 21:41 schreef Nathan Hsieh notifications@github.com: