You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/why-typescript.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ You might be wondering "**Why add types to JavaScript?**"
11
11
12
12
Types have proven ability to enhance code quality and understandability. Large teams (google,microsoft,facebook) have continually arrived at this conclusion. Specifically:
13
13
14
-
* Types increase you agility when doing refactoring. *Its better for the compiler to catch errors than to have things fail at runtime*.
14
+
* Types increase your agility when doing refactoring. *Its better for the compiler to catch errors than to have things fail at runtime*.
15
15
* Types are one of the best forms of documentation you can have. *The function signature is a theorem and the function body is the proof*.
16
16
17
17
However types have a way of being unnecessarily ceremonious. TypeScript is very particular about keeping the barrier to entry as low as possible. Here's how:
0 commit comments