Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out how to switch to Typescript #656

Open
zorbathut opened this issue Jul 27, 2023 · 3 comments
Open

Figure out how to switch to Typescript #656

zorbathut opened this issue Jul 27, 2023 · 3 comments
Labels

Comments

@zorbathut
Copy link
Contributor

zorbathut commented Jul 27, 2023

This post used to be about doing a transpiler for optional chaining, but now it's about shifting to Typescript.

Anyone know the right way to do that?

@wmill
Copy link
Contributor

wmill commented Nov 1, 2023

There's a PR up showing BabelJS integration here: #710

There will need to be some discussion about how you actually want to do things.

@beigexperience
Copy link

beigexperience commented Nov 12, 2024

Sorry for the necro post, but look at the usage relative graph for optional chaining.
https://caniuse.com/mdn-javascript_operators_optional_chaining

I don't think you need a transpiler for this anymore.

@zorbathut
Copy link
Contributor Author

No worries, necros appreciated :)

Good to know that works, yeah. I do think "switch to Typescript" seems like a worthy goal in its own right, but I'll edit this post.

@zorbathut zorbathut changed the title Figure out if there's some JS transpiler we can use so we can take advantage of stuff like optional chaining Figure out how to switch to Typescript Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants