Skip to content

Commit

Permalink
Fix numbered list rendering
Browse files Browse the repository at this point in the history
As written, this list doesn't render as bullets, and instead collapses into a single paragraph. This change breaks the list into its own paragraph so that it can be parsed as such.
  • Loading branch information
henrebotha authored Feb 6, 2020
1 parent f211597 commit 4279242
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/why-typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ This type inference is well motivated. If you do stuff like shown in this exampl

### Types can be Explicit
As we've mentioned before, TypeScript will infer as much as it can safely. However, you can use annotations to:

1. Help along the compiler, and more importantly document stuff for the next developer who has to read your code (that might be future you!).
1. Enforce that what the compiler sees, is what you thought it should see. That is your understanding of the code matches an algorithmic analysis of the code (done by the compiler).

Expand Down

0 comments on commit 4279242

Please sign in to comment.