Ts-node: Is there a ts-node hashbang?

Created on 3 Apr 2017  路  1Comment  路  Source: TypeStrong/ts-node

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

???

duplicate question

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

watzon picture watzon  路  3Comments

nehalist picture nehalist  路  3Comments

grissius picture grissius  路  3Comments

conordickinson picture conordickinson  路  4Comments

OliverJAsh picture OliverJAsh  路  3Comments