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

feat(cli): allow overriding default script extension #930

Merged
merged 4 commits into from
Nov 8, 2024

Conversation

antongolub
Copy link
Collaborator

closes #929

NODE_OPTIONS='--experimental-strip-types' npx zx --ext='.ts' <<< 'const foo:string="bar"; console.log(foo)'
  • Tests pass

@antonmedv antonmedv merged commit 8ae13f5 into google:main Nov 8, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support typescript natively
2 participants