Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 3.38 KB

README.md

File metadata and controls

46 lines (37 loc) · 3.38 KB

Fundamental
( Typescript )

TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. Any browser. Any host. Any OS. Open source. This repo contains the fundamental or basic of typescript and this repo is just for exercise purpose about typescript. There is build folder that contains how typescript runs in javascript version so we can compare between javascript and typescript. Build folder will appear while we run the script

Typescript Fundamental

No Basic Languange
1 Basic Type Typescript
2 Array Typescript
3 Class Typescript
4 Enum Typescript
5 Function Typescript
6 Generic Typescript
7 Interface Typescript
8 Object Typescript
9 Class Abstract Typescript
10 Class Inheritance Typescript
11 Class Generic Typescript
12 Module Typescript

Installation

  1. Clone this repository
  2. Install the dependencies by running yarn
  3. Select in package.json what file TS you want to run and watch
  4. Open first terminal and execute use yarn ts for convert file .ts => .js ( prefer using gitbash if you on Windows)
  5. Edit scripts inside package.json in key ["dev": "nodemon ./build/~"] and choose which JS script you want to execute
  6. Open second terminal and execute nodemon using yarn dev

License

ISC