0

I'm starting to study the PWA Studio, and I enjoy using Typescript. So I want to know if it's possible to do that.

1 Answer 1

1

Typescript compiles down to Javascript so technically there's no reason you can't that I'm aware of but it won't be a pleasant experience as core Magento does not use TS therefore you'll either need to work without types for changes to the core or add them yourself.

Some people within Magento want to add Typescript support but I'm not currently sure if it will be going ahead or not.

I'm currently working on a proposal to add typescript to the repo. Im going to close this issue for now but will continue to reference it internally and in my proposal moving forward.

Taken from https://github.com/magento/pwa-studio/issues/2171#issuecomment-771031828

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.