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

https://github.com/donpage/typescriptprac

Learning Typescript
https://github.com/donpage/typescriptprac

Last synced: 3 months ago
JSON representation

Learning Typescript

Awesome Lists containing this project

README

        

# Practicing TypeScript
Notes from TypeScript Fundamentals Course

## Important Keywords and Operators

| Keyword | Description |
| :------------------------ | :----------------------------------------------- |
| `class` | Container for members such as properties and functions |
| `constructor` | Provides initialization functionality in a class |
| `exports` | Export a member from a module |
| `extends` | Extend a class or interface |
| `implements` | Implements an interface |
| `imports` | Import a module |
| `interface` | Defines a code contract that can be implemented by types |
| `module` | Container for class and other code |
| `public/private` | Member visibility modifiers |
| `...` | Rest parameter syntax |
| `=>` | Arrow syntax used with definitions and functions |
| `` | < > characters use to cast/convert between types |
| `:` | Separator between variable/parameter names and types |

## TypeScript Class Members

| Keyword | Description |
| :------------------------ | :----------------------------------------------- |
| `Fields` | Variables. |
| `constructor` | Init an object. Starter data. |
| `Properties` | Get or Set field values. Act as filters |
| `Functions` | Something you want to perform |