Closed steschi closed 1 year ago
The module resolution issue seems to be a bug. I'll release a new version to fix it.
About the new decorators, the lib depends on mobx so mobx itself needs to support the new decorators before any work can be done on this side 😢
I think the bundler part should be fixed now in 1.6.4
Thanks for solving this so quickly. 1.6.4 works for me now. It looks like the new decorators are at least considered by mobx so im looking forward to it.
Hey all!
Currently evaluating mobx-keystone for a project. We are already using typescript 5.1.6 and the "new" decorators as well as
"moduleResolution": "bundler"
in tsconfig.json but this yields some issues when importing mobx-keystone. Should this work already? Or is mobx-keystone not ready for this yet?I think
"types": "./dist/types/index.d.ts"
is missing in the exports tag of package.json. If I add it manually the resolve works as expected.