TS2554TS2554 — Expected N Arguments But Got M
The number of arguments passed to a function does not match the number of required parameters.
TS2355A function with a declared return type does not return a value in all code paths.
The function signature specifies a return type, but some execution paths reach the end of the function without returning a value. Conditional branches may not all have return statements.
Add return statements to all code paths. If the function can legitimately return nothing, change the return type to include undefined or void. Check all branches of if/else and switch statements.
function getName(): string {
// missing return
}TS2554The number of arguments passed to a function does not match the number of required parameters.
TS2339TypeScript cannot find the specified property on the given type.
TS1479The relative import path requires a file extension under Node.js ESM resolution.
TS2365An arithmetic or comparison operator is used with incompatible types.
TS4082The default export requires a type annotation when generating declaration files.
TS2393A function with the same name is implemented more than once.