Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Excessive property checking in Typescript refers to a situation where the Typescript compiler raises an error for an object that has extra properties not defined in the interface or type. This happens when the compiler option "noImplicitAny" is set to true, and the object is not explicitly typed. In this case, Typescript assumes that the object has type "any" and raises an error for extra properties. To avoid this, the object should be explicitly typed, or the "noImplicitAny" option should be set to false.