TS2304TS2304 — Cannot Find Name
TypeScript cannot find a variable, function, or type with the specified name in the current scope.
TS4058The return type of a function cannot be named without importing a type from another module.
The function returns a type that is defined in another module, and that type is not imported in the current file. TypeScript needs the type to be accessible to generate declaration files.
Import the return type explicitly. Add an explicit return type annotation using a type that is available in the current file. Re-export the needed type from a shared module.
TS2304TypeScript cannot find a variable, function, or type with the specified name in the current scope.
TS2565A class property with a definite assignment assertion (!) is never read.
TS2339TypeScript cannot find the specified property on the given type.
TS2300The same identifier is declared more than once in the same scope.
TS2305The specified export does not exist in the referenced module.
TS1131TypeScript expected a property declaration or method signature but found something else.