You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've been trying to use the library in Typescript with no luck.
Since the library has no typings, I've declared my own module: declare module 'mobx-delorean';
but when running I get this:
Uncaught TypeError: Cannot read property 'action' of undefined
at eval (utils.js:82)
at Object.../../../node_modules/mobx-delorean/lib/utils.js (main.js:10269)
at __webpack_require__ (main.js:724)
at fn (main.js:101)
at eval (spy.js:14)
at Object.../../../node_modules/mobx-delorean/lib/spy.js (main.js:10209)
at __webpack_require__ (main.js:724)
at fn (main.js:101)
at eval (dev.js:11)
at Object.../../../node_modules/mobx-delorean/lib/dev.js (main.js:10149)
Any suggestions on how I can make it work with Typescript?
The text was updated successfully, but these errors were encountered:
Hi, I've been trying to use the library in Typescript with no luck.
Since the library has no typings, I've declared my own module:
declare module 'mobx-delorean';
but when running I get this:
Any suggestions on how I can make it work with Typescript?
The text was updated successfully, but these errors were encountered: