Skip to content

Commit 4e439f5

Browse files
author
Danny Hurlburt
committed
Update README.md
1 parent 760b60c commit 4e439f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ type AppProps = {
11131113

11141114
##### `object` as the non-primitive type
11151115

1116-
`object` is a common source of misunderstanding in TypeScript. It does not mean "any object" but rather "any non-primitive type", which means it represents anything that is not `number`, `string`, `boolean`, `symbol`, `null` or `undefined`.
1116+
`object` is a common source of misunderstanding in TypeScript. It does not mean "any object" but rather "any non-primitive type", which means it represents anything that is not `number`, `bigint`, `string`, `boolean`, `symbol`, `null` or `undefined`.
11171117

11181118
Typing "any non-primitive value" is most likely not something that you should do much in React, which means you will probably not use `object` much.
11191119

0 commit comments

Comments
 (0)