Closed AlexCppns closed 5 years ago
Hi Alex, I'm afraid I can't be of much help. I wanted to write mobx-task in TS but the decorator pattern is not well supported in TS so I didn't bother.
I might take a look at it once I have some more time to dabble in the type system.
I've made PR to DefinitelyTyped with types. https://github.com/DefinitelyTyped/DefinitelyTyped/pull/34690
Great work @JulianWielga !
Hi there,
Right now, we have to manually implement index.d.ts in our project and I cannot figure out how to declare the decorator
@task
with options so that it works in typescript. My current workaround isour current index.d.ts file:
mobx packages from package.json: