Vadim Dalecky4 months ago

On TypeScript object types:

  • {} is a type which specifies that the value supports property access dot . operator. Like (123 as {}).toString().

  • object (with lower case) specifies any non primitive value, such as object, array, function, etc.

  • Object (with upper case) specifies the type of the JavaScript built-in Object value.