-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels