TS2345TS2345 — Argument Type Not Assignable
The argument passed to a function is not compatible with the expected parameter type.
TS2352A type assertion between two types that have no overlap might be an error.
You are using a type assertion (as Type) between two types that TypeScript considers completely unrelated. For example, asserting a string as a number. TypeScript warns this is likely a mistake.
Use a double assertion through unknown if the conversion is intentional: value as unknown as TargetType. Check if the assertion is correct. Consider using a proper conversion function instead.
const x = 'hello' as number;TS2345The argument passed to a function is not compatible with the expected parameter type.
TS2612A property in a derived class conflicts with a getter/setter accessor in the base class.
TS2554The number of arguments passed to a function does not match the number of required parameters.
TS2395Merged declarations for the same name have inconsistent export modifiers.
TS2393A function with the same name is implemented more than once.
TS2705An async function requires a higher ECMAScript target to compile.