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
Thanks for logging this! It looks like a bug with the way Expo/babel are parsing the TypeScript output for decorators.
I have my tsconfig target set to ES2022, so as long as the parser supports at least that, it should work out of the box.
I'm not sure about intersection.equals being undefined in hermes, but given that it works in every other runtime I've tested, it also seems worth opening an issue with the maintainers of that project to see if they have an idea what's going on.
I'm happy to try and accommodate this environment if there are specific, targeted changes I can make to do so.
I can't say for sure what was in the newer releases that wasn't in that one, but I can say I can't maintain a limited feature set based on what Hermes supports going forward.
If there's a specific problem I can easily address please do let me know as I'd love to help. I'll close this issue for now.
Report a bug
🔎 Search Terms
@babel/plugin-transform-class-static-block
expo
🧩 Context
🧑💻 Repro
I'll leave a repository containing a minimal reproduction code: https://github.com/eduardo-gualberto/arktype-repro-01
I noticed I could not make arktype work with a create-expo-app (typescript templated) project.
It first complains about a missing babel plugin called
plugin-transform-class-static-block
. Such as bellow.Then, after installing the plugin and adding it to babel.config, the error changes to
The text was updated successfully, but these errors were encountered: