Skip to content

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

Merged
antonmedv merged 4 commits into
google:mainfrom
antongolub:feat-cli-ext
Nov 8, 2024
Merged

feat(cli): allow overriding default script extension#930
antonmedv merged 4 commits into
google:mainfrom
antongolub:feat-cli-ext

Conversation

@antongolub

Copy link
Copy Markdown
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
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