TS2578TS2578 — Unused @ts-expect-error
A @ts-expect-error directive is present but no error occurs on the next line.
TS2367A comparison between two values will always be false because their types have no overlap.
The types of the two operands in a comparison have no common values. For example, comparing a variable of type string to a number literal, or checking if a value equals something outside its type's domain.
Check if the comparison is correct. The types might need to be widened, or the comparison logic may be flawed. Use type assertions if you know the runtime type differs from the compile-time type.
const x: string = 'hi';
if (x === 42) {}TS2578A @ts-expect-error directive is present but no error occurs on the next line.
TS18048TypeScript warns that a value could be undefined and you are using it without checking.
TS2538The type of the index expression is not valid for indexing the object.
TS2352A type assertion between two types that have no overlap might be an error.
TS2769None of the function overload signatures match the provided arguments.
TS7041The default export expression does not have a type annotation.