TS2558TS2558 — Expected Type Arguments
A generic type or function is used without providing required type arguments.
TS2304TypeScript cannot find a variable, function, or type with the specified name in the current scope.
The identifier is not declared in the current scope. It may be misspelled, not imported, or defined in a different file without being exported. Global type declarations may also be missing.
Check for typos in the identifier name. Import the symbol if it is defined in another module. Declare the variable or function if it does not exist yet. For browser globals, add the appropriate lib to tsconfig.
// Cannot find name 'x'
console.log(x);TS2558A generic type or function is used without providing required type arguments.
TS2578A @ts-expect-error directive is present but no error occurs on the next line.
TS1064The Promise constructor must be called with the new keyword.
TS2352A type assertion between two types that have no overlap might be an error.
TS2532TypeScript warns that an object expression could be undefined at runtime.
TS7030A function with a return type does not return a value in all possible code paths.