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

Add tsx to TypeScript interpreters #6788

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Add tsx to TypeScript interpreters #6788

merged 1 commit into from
Jun 7, 2024

Conversation

Alhadis
Copy link
Collaborator

@Alhadis Alhadis commented Apr 9, 2024

Description

Not to be confused with JSX-aware TypeScript, tsx is a drop-in replacement for node(1) that compiles and runs TypeScript programs on-the-fly (à la Deno). This PR simply tells Linguist to classify as TypeScript any program with a hashbang1 like #!/usr/bin/env tsx.

(Checklist removed as it doesn't apply).

Footnotes

  1. privatenumber/tsx@5738e8a

@Alhadis Alhadis requested a review from a team as a code owner April 9, 2024 15:20
@github-linguist github-linguist deleted a comment from vipbooy2019 Apr 13, 2024
Copy link
Member

@lildude lildude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

Note: this PR will not be merged until close to when the next release is made. See here for more details.

@lildude lildude added this pull request to the merge queue Jun 7, 2024
Merged via the queue into master with commit 3ec0889 Jun 7, 2024
8 checks passed
@lildude lildude deleted the tsx-interpreter branch June 7, 2024 10:34
@github-linguist github-linguist locked as resolved and limited conversation to collaborators Sep 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants