navigo: 8.1.0 tsc errors
Upgraded from 7.1.2 to 8.1.0 and now I’m getting the following errors.
[tsc] node_modules/navigo/index.d.ts(31,14): error TS2304: Cannot find name 'ONE'.
[tsc] node_modules/navigo/index.d.ts(31,20): error TS2304: Cannot find name 'ALL'.
[tsc] node_modules/navigo/index.d.ts(44,1): error TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 33 (32 by maintainers)
Commits related to this issue
- Proper typing for strategy field #261 — committed to krasimir/navigo by deleted user 3 years ago
- Better typing #264 #261 — committed to krasimir/navigo by deleted user 3 years ago
- ES build #261 — committed to krasimir/navigo by deleted user 3 years ago
- Proper ES build #261 — committed to krasimir/navigo by deleted user 3 years ago
never mind… now it is working as expected but I didn’t really do anything other than add a 3rd .on and another href and now they are working as expected.
@krasimir sorry that issue is caused by an update to mobx. To fix it add the following to the index.html file the root directory.
Thanks for the update and all the work!