Skip to content

Learning The Fundamental of Typescript Such As Basic Data Types, Class, Enum, Function, Array, etc.

Notifications You must be signed in to change notification settings

aldoignatachandra/Typescript-Fundamental

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Learning The Fundamental of Typescript Such As Basic Data Types, Class, Enum, Function, Array, etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published