TS2345TS2345 — Argument Type Not Assignable
The argument passed to a function is not compatible with the expected parameter type.
TS2741A required property is missing from the object being assigned.
The target type requires a specific property that the source object does not have. This is similar to TS2740 but points to a single missing property. Interface implementations and function return types commonly trigger this.
Add the missing property to the object. If the property should be optional, update the type definition. Check that you are returning all required properties from functions.
TS2345The argument passed to a function is not compatible with the expected parameter type.
TS1219Decorators require the experimentalDecorators compiler option to be enabled.
TS2497A CommonJS module is being imported with named import syntax but only has a default export.
TS2448A variable declared with let or const is referenced before its declaration in the same block.
TS1202The import = require() syntax cannot be used in an ES module.
TS2339A prop is passed to a React component that does not accept it in its type definition.