Search⌘ K

Lowercase vs UpperCase Object

Explore the distinctions between TypeScript's lowercase object type and JavaScript's uppercase Object. Understand when to use each type and how they affect type checking and object handling in your code.

We'll cover the following...

Lowercase object #

With TypeScript 2.2, the lowercase object type was born. The lowercase object type contains all types that are not primitive. It’s easy to confuse this with the uppercase Object, which every kind of object has in common. Here is a list of the types that are not an object:

...