Every TypeScript error code explained with real examples and fixes. Search by error code or message to find exactly what you need.
19 of 19 errors
'x' expected
Cannot find name 'X'
Type 'X' is not assignable to type 'Y'
Property 'X' does not exist on type 'Y'
Argument of type 'X' is not assignable to parameter of type 'Y'
Conversion of type 'X' to type 'Y' may be a mistake
Object is possibly 'null'
Object is possibly 'undefined'
Property 'X' does not exist on type 'Y'. Did you mean 'Z'?
Expected N arguments, but got M
A spread argument must either have a tuple type or be passed to a rest parameter
Property 'x' has no initializer and is not definitely assigned in the constructor
Object is of type 'unknown'
'this' implicitly has type 'any' because it does not have a type annotation
Type 'X' is missing the following properties from type 'Y'
No overload matches this call
Parameter 'x' implicitly has an 'any' type
'x' implicitly has type 'any' because it does not have a type annotation and is referenced directly ...
'x' is of type 'unknown'