Skip to content
My playground for TypeScript and to see how it compiles into JavaScript
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
.eslintrc.json
.gitignore
LICENSE
README.md
package.json
tsconfig.json
yarn.lock

README.md

typescript-playground

I think what would be interesting would have the JS files created with different outputs

For example the typescript file test-async-main.ts would generate several versions of the files:

  • test-async-main-fail-es5.js
  • test-async-main-fail-es6.js
  • test-async-main-fail-es2015.js
  • test-async-main-fail-es2016.js
  • test-async-main-fail-es2017.js
  • test-async-main-fail-es2018.js
  • test-async-main-fail-esnext.js

The header of the file should include the tsconfig.json that was used to generate the file.

This would be useful in learning about the differences in files.

You can’t perform that action at this time.