Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/frantallukas10/typescript-and-object-oriented-programming-fundamentals
- Owner: frantallukas10
- Created: 2019-01-20T21:13:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-20T21:20:41.000Z (about 6 years ago)
- Last Synced: 2024-11-18T21:59:42.087Z (2 months ago)
- Language: TypeScript
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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