Skip to content

Is there a ts-node hashbang? #298

Closed
Closed

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

  1. blakeembrey commented on Apr 3, 2017

    @blakeembrey
    Member

    It should work as you've described. See #73 and #116.

  2. added
    question
    on Apr 3, 2017
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

    duplicatequestion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions