Skip to content

Commit 1c07251

Browse files
authored
Update styleguide.md
1 parent 2a34a61 commit 1c07251

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/styleguide/styleguide.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Key Sections:
2020
* [Annotate Arrays as `Type[]`](#array)
2121
* [File Names](#filename)
2222
* [`type` vs `interface`](#type-vs-interface)
23+
* [`==` or `===`](#==-or-===)
2324

2425
## Variable and Function
2526
* Use `camelCase` for variable and function names
@@ -283,4 +284,8 @@ class X implements FooBar {
283284
bar: string;
284285
}
285286
```
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.
291+

0 commit comments

Comments
 (0)