Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/frantallukas10/typescript-and-object-oriented-programming-fundamentals


https://github.com/frantallukas10/typescript-and-object-oriented-programming-fundamentals

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# TypeScript and Object-oriented Programming Fundamentals

How to install TypeScript globally

```js
npm install -g typescript
```

TypeScript can be compile to Javascript with command:

```js
tsc fileName.ts
```

## Benefits:

- Strong typing
- Object-oriented features
- Compile-time errors
- Great tooling

## 1. Declaring Variables

## 2. Type annotations

## 3. Type Assertions

## 4. Arrow Functions

## 5. Interfaces

## 6. Classes

## 7. Objects

## 8. Constructors

## 9. Access Modifiers

## 10. Access Modifiers in Constructor Parameters

## 11. Properties

## 12. Modules

## 13. Exercise and Solution