Releases: saurabhdaware/typescript-run
Releases · saurabhdaware/typescript-run
v0.1.0 - Forward parent parameters
- First minor release (should be usable now in small applications or for testing out typescript)
- Forward parent arguments from cli
For this command-
typescript-run example.ts randomstring anotherrandomstring
process.argv
will contain following output
[
'/Users/saurabhdaware/.nvm/versions/node/v15.9.0/bin/node',
'/Users/saurabhdaware/Desktop/projects/libraries/ts-run/example/.temp-bundle.ts-run.js',
'randomstring',
'anotherrandomstring'
]
Note: the example.ts
is not forwarded because while executing script, we run the bundled version which is a javascript file