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/styleguide/styleguide.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ Key Sections:
20
20
*[Annotate Arrays as `Type[]`](#array)
21
21
*[File Names](#filename)
22
22
*[`type` vs `interface`](#type-vs-interface)
23
+
*[`==` or `===`](#==-or-===)
23
24
24
25
## Variable and Function
25
26
* Use `camelCase` for variable and function names
@@ -283,4 +284,8 @@ class X implements FooBar {
283
284
bar: string;
284
285
}
285
286
```
286
-
* Otherwise use whatever makes you happy that day.
287
+
* Otherwise use whatever makes you happy that day. I use [type](https://www.youtube.com/watch?v=IXAT3If0pGI)
288
+
289
+
## `==` or `===`
290
+
Both are [mostly safe for TypeScript users](https://www.youtube.com/watch?v=vBhRXMDlA18). I use `===` as that is what is used in the TypeScript codebase.
0 commit comments