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
tsDecorators are only available in TS(X) files, to limit the usage of unspec decorators in JS files. Given that esbuild shipped spec compliant decorators which is available in Vite 5.3, this should I think fix your issue if you depend on the new stantard (which might not be the case given "experimentalDecorators": true, in your TS config)
i use mobx:5.15.4"mobx-react": "6.1.8" with experimentalDecorators:true
Thank you, I heard that there are several ts specifications. Does swc only support the latest ones? I don't know what kind of converter mobx needs, and does swc have it?
In addition, I have enabled conversion in tsconfig, but it has no effect.
I'll change it to a.tsx file and try again
For now you can either patch to opt-in to unstable 2022-03 or use the legacy one (both as declared supported by mobx) using tsDecorators option (which requires using TS/TSX source code)
The text was updated successfully, but these errors were encountered: