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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add tsx to TypeScript interpreters #6788

wants to merge 1 commit into from

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
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.

None yet

1 participant