Merge master to revert swcs lack of type checking

This commit is contained in:
Manuel 2021-06-05 21:07:24 +02:00
commit d9156c574a
Signed by: SunRed
GPG Key ID: 4085037435E1F07A
2 changed files with 4 additions and 3 deletions

View File

@ -1,2 +1 @@
cat > program.js
node program.js
cat | node

View File

@ -1,2 +1,4 @@
cat > program.ts
swc-node program.ts
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