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

https://github.com/ivan-kleshnin/typescript-modern

Modern TypeScript – developer notes
https://github.com/ivan-kleshnin/typescript-modern

Last synced: 7 months ago
JSON representation

Modern TypeScript – developer notes

Awesome Lists containing this project

README

          

# Modern TypeScript

*Developer notes about modern (2020) TypeScript.*

#### Rules

- Avoid `any`, use `unknown` instead.
- Avoid `Object` and `object`, use `{[key: string] : unknown}` instead.
- Avoid Enums, use Unions instead.

#### Unsorted

- [Global variables](https://mariusschulz.com/blog/declaring-global-variables-in-typescript)

#### Whys

- [Any-vs-Unknown](https://mariusschulz.com/blog/the-unknown-type-in-typescript)
- [Object-vs-object-vs-{}](https://stackoverflow.com/questions/49464634/difference-between-object-and-in-typescript)

### Resources

- [React and TypeScript](https://react-typescript-cheatsheet.netlify.app/)
- [TypeScript evolution by Marius Schulz](https://mariusschulz.com/blog/series/typescript-evolution)