Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
add links
Browse files Browse the repository at this point in the history
  • Loading branch information
andreineculau authored Mar 3, 2020
1 parent c71f3f0 commit 5e0c541
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Similarly, you may use:
* `if ((a as any).match) { a = a as unknown as string; ...` (in extreme cases)

[Read more about this.](https://www.typescriptlang.org/docs/handbook/advanced-types.html#type-guards-and-differentiating-types)
[Read event more about this.](https://medium.com/javascript-in-plain-english/even-more-typescript-types-you-need-to-know-d86439f13a8)


## Use type assertions to `unknown` when the going gets tough
Expand Down Expand Up @@ -348,3 +349,5 @@ type SomeFunction =
* https://www.typescriptlang.org/docs/handbook/basic-types.html
* https://microsoft.github.io/TypeScript-New-Handbook/outline/
* https://basarat.gitbook.io/typescript/
* https://github.com/David-Else/modern-typescript-with-examples-cheat-sheet
* https://2ality.com/2020/02/types-for-classes-typescript.html

0 comments on commit 5e0c541

Please sign in to comment.