Skip to content

Commit 120b111

Browse files
authored
Update type-assertion.md
1 parent 8d6787e commit 120b111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/types/type-assertion.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ Basically, the assertion from type `S` to `T` succeeds if either `S` is a subtyp
113113
Both are *equally unsafe* as far as TypeScript is concerned. Use what makes you happy. Considerations:
114114

115115
* Linters prefer `unknown` (with `no-explicit-any` rule)
116-
* `any` is less words to type than `unknown`
116+
* `any` is less characters to type than `unknown`

0 commit comments

Comments
 (0)