TS2345TS2345 — Argument Type Not Assignable
The argument passed to a function is not compatible with the expected parameter type.
TS2578A @ts-expect-error directive is present but no error occurs on the next line.
The code was fixed or changed so that the expected error no longer occurs. The @ts-expect-error comment is now unnecessary because the next line compiles without errors.
Remove the @ts-expect-error comment since the error has been resolved. If you want to suppress errors that may or may not exist, use @ts-ignore instead (though this is less safe).
TS2345The argument passed to a function is not compatible with the expected parameter type.
TS2740An object type is missing required properties that are expected by the target type.
TS2322A value of one type cannot be assigned to a variable or property of a different, incompatible type.
TS2531TypeScript warns that an expression could be null at runtime, and you are using it without checking.
TS1003TypeScript expected an identifier (variable name, function name, etc.) but found something else.
TS4055The return type of an exported function references a private or non-exported type.