Skip to content

Learning Typescript Object Oriented Programming Such As Class, Inheritance, Interface, Constructor etc.

Notifications You must be signed in to change notification settings

aldoignatachandra/Typescript-OOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Oriented Programming
( 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 basic of typescript used in object oriented programming 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 Object Oriented Programming

No Basic Object Oriented programming Languange
1 Class Typescript
2 Constructor Typescript
3 Property Method Typescript
4 Constructor 2 Typescript
5 Inheritance Typescript
6 Super Constructor Typescript
7 Method Overriding Typescript
8 Visibility Typescript
9 Readonly Modifier Typescript
10 Getter Setter Typescript
11 Static Property Method Typescript
12 Return Type Typescript
13 Abstract Class Typescript
14 Interface Typescript
15 Interface Optional Property Typescript
16 Interface Readonly Property Typescript
17 Interface Inheritance Typescript
18 Interface Extends Class Typescript
19 Dependency Injection Typescript
20 Generic Typescript
21 Generic Interface Typescript
22 Generic Types Typescript
23 Generic Class Typescript
24 Generic Class 2 Typescript
25 Generic Constraints Typescript
26 Generic Class Constraints Typescript
27 Type Parameters In Generics constraint Typescript
28 Namespace Typescript
29 Type Vs Interface 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 Typescript Object Oriented Programming Such As Class, Inheritance, Interface, Constructor etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published