Skip to content

Is there a ts-node hashbang? #298

Description

@atrauzzi

If I wanted to use a .ts file as an entrypoint, wouldn't I want to have a hashbang that indicates such?

For nodejs scripts, you put this at the top of the file:

#!/usr/bin/env node

Wouldn't it then make sense to have;

#!/usr/bin/env ts-node

???

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicatequestionSupport requests. We tend not to answer these on Github. Nowadays I convert to Discussion instead.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions