Project with a cheatsheet for the programming language Typescript. To run, clone this repository
git clone https://github.com/yds12/ts-cheatsheet.git
then cd
into it and, with Node.js and npm installed, run:
npm install
This command will install the packages typescript
(the Typescript compiler)
and ts-node
(a REPL for Typescript).
Now you can try to compile the .ts
files with:
npx tsc
It will generate an index.js
file in the dist
directory. All the interesting
stuff is, however, written as code and comments in the src/index.ts
file.