TS2775TS2775 — Assertions Require Every Name to Have Explicit Type Annotation
A type assertion function requires all parameter types to be explicitly annotated.
TS1109TypeScript expected an expression but found a token that cannot start an expression.
There is a syntax error where an expression (value, function call, operation) was expected but a keyword or punctuation was found instead. Common causes include extra commas, missing values in arrays, or incomplete ternary expressions.
Add the missing expression. Remove extraneous punctuation. Complete any partial expressions like ternary operators or function calls.
TS2775A type assertion function requires all parameter types to be explicitly annotated.
TS2322A value of one type cannot be assigned to a variable or property of a different, incompatible type.
TS2497A CommonJS module is being imported with named import syntax but only has a default export.
TS2554The number of arguments passed to a function does not match the number of required parameters.
TS4058The return type of a function cannot be named without importing a type from another module.
TS2503TypeScript cannot find a namespace with the specified name.