Replies: 1 comment
-
👋🏻 Hi @muchisx, the plan for us is to stick to native JavaScript and move farther away from requiring a compilation step, which TypeScript requires. There's no denying the benefit of TypeScript but for the sake of a Liquid theme, we want our source code to be as close to, if not the same, as what ends up in merchants' hands. We find that compiled code leads to more complexity than we want for our themes. For the time being, and unless there's a huge reason to, we're not planning on supporting TypeScript. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
Awesome work and a huge thanks from the community for sharing, this is sick!
I've watched the respective repositories and all seem to be written in Javascript.
I haven't digged a lot into the possibility but I wanted to know if you're open to having a typescript version of all the repositories (probably involving a build step for the end files that will be packaged with the theme, those must remain Javascript).
This would allow for better typecheck and maybe even eslint and typescript extensions of eslint to make scripts even more robust for production-grade themes.
If you considered and realized it wasn't possible just let me know so I don't dig too much into it hehe
thanks !
Beta Was this translation helpful? Give feedback.
All reactions