Errors
TypeScript errors
TSxxxx compiler errors.
1,407 entries0 written pages
Showing 1,051 to 1,100 of 1,407Source: TypeScript diagnosticMessages.json
| Code | Error | Category | Page |
|---|---|---|---|
| TS4122 | This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'. | Error | Reference |
| TS4123 | This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'? | Error | Reference |
| TS4124 | Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D... | Error | Reference |
| TS4125 | Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given. | Error | Reference |
| TS4126 | One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value. | Error | Reference |
| TS4127 | This member cannot have an 'override' modifier because its name is dynamic. | Error | Reference |
| TS4128 | This member cannot have a JSDoc comment with an '@override' tag because its name is dynamic. | Error | Reference |
| TS5001 | The current host does not support the '{0}' option. | Error | Reference |
| TS5002 | Option '{0}' requires value to be greater than '{1}'. | Error | Reference |
| TS5009 | Cannot find the common subdirectory path for the input files. | Error | Reference |
| TS5010 | File specification cannot end in a recursive directory wildcard ('**'): '{0}'. | Error | Reference |
| TS5011 | The common source directory of '{0}' is '{1}'. The 'rootDir' setting must be explicitly set to this or another path to adjust your... | Error | Reference |
| TS5012 | Cannot read file '{0}': {1}. | Error | Reference |
| TS5023 | Unknown compiler option '{0}'. | Error | Reference |
| TS5024 | Compiler option '{0}' requires a value of type {1}. | Error | Reference |
| TS5025 | Unknown compiler option '{0}'. Did you mean '{1}'? | Error | Reference |
| TS5033 | Could not write file '{0}': {1}. | Error | Reference |
| TS5042 | Option 'project' cannot be mixed with source files on a command line. | Error | Reference |
| TS5047 | Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher. | Error | Reference |
| TS5051 | Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided. | Error | Reference |
| TS5052 | Option '{0}' cannot be specified without specifying option '{1}'. | Error | Reference |
| TS5053 | Option '{0}' cannot be specified with option '{1}'. | Error | Reference |
| TS5054 | A 'tsconfig.json' file is already defined at: '{0}'. | Error | Reference |
| TS5055 | Cannot write file '{0}' because it would overwrite input file. | Error | Reference |
| TS5056 | Cannot write file '{0}' because it would be overwritten by multiple input files. | Error | Reference |
| TS5057 | Cannot find a tsconfig.json file at the specified directory: '{0}'. | Error | Reference |
| TS5058 | The specified path does not exist: '{0}'. | Error | Reference |
| TS5059 | Invalid value for '--reactNamespace'. '{0}' is not a valid identifier. | Error | Reference |
| TS5061 | Pattern '{0}' can have at most one '*' character. | Error | Reference |
| TS5062 | Substitution '{0}' in pattern '{1}' can have at most one '*' character. | Error | Reference |
| TS5063 | Substitutions for pattern '{0}' should be an array. | Error | Reference |
| TS5064 | Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'. | Error | Reference |
| TS5065 | File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'. | Error | Reference |
| TS5066 | Substitutions for pattern '{0}' shouldn't be an empty array. | Error | Reference |
| TS5067 | Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name. | Error | Reference |
| TS5068 | Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at... | Error | Reference |
| TS5069 | Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'. | Error | Reference |
| TS5070 | Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'. | Error | Reference |
| TS5071 | Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'. | Error | Reference |
| TS5072 | Unknown build option '{0}'. | Error | Reference |
| TS5073 | Build option '{0}' requires a value of type {1}. | Error | Reference |
| TS5074 | Option '--incremental' is only valid with a known configuration file (like 'tsconfig.json') or when '--tsBuildInfoFile' is explicitly... | Error | Reference |
| TS5075 | '{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'. | Error | Reference |
| TS5076 | '{0}' and '{1}' operations cannot be mixed without parentheses. | Error | Reference |
| TS5077 | Unknown build option '{0}'. Did you mean '{1}'? | Error | Reference |
| TS5078 | Unknown watch option '{0}'. | Error | Reference |
| TS5079 | Unknown watch option '{0}'. Did you mean '{1}'? | Error | Reference |
| TS5080 | Watch option '{0}' requires a value of type {1}. | Error | Reference |
| TS5081 | Cannot find a tsconfig.json file at the current directory: {0}. | Error | Reference |
| TS5082 | '{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'. | Error | Reference |
Other families: JavaScript, Node.js, npm, React, Next.js, Vite, webpack, Jest