myriad/languages/typescript/run.sh

5 lines
200 B
Bash
Raw Permalink Normal View History

2020-06-17 07:18:15 +02:00
cat > program.ts
2020-06-19 15:34:30 +02:00
tsc --lib DOM,ESNext --target ES2019 --strict \
--skipLibCheck --types /usr/local/share/.config/yarn/global/node_modules/@types/node program.ts \
&& cat program.js | node -p