Errors
TypeScript errors
TSxxxx compiler errors.
1,407 entries0 written pages
Showing 1,251 to 1,300 of 1,407Source: TypeScript diagnosticMessages.json
| Code | Error | Category | Page |
|---|---|---|---|
| TS8021 | JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags. | Error | Reference |
| TS8022 | JSDoc '@{0}' is not attached to a class. | Error | Reference |
| TS8023 | JSDoc '@{0} {1}' does not match the 'extends {2}' clause. | Error | Reference |
| TS8024 | JSDoc '@param' tag has name '{0}', but there is no parameter with that name. | Error | Reference |
| TS8025 | Class declarations cannot have more than one '@augments' or '@extends' tag. | Error | Reference |
| TS8026 | Expected {0} type arguments; provide these with an '@extends' tag. | Error | Reference |
| TS8027 | Expected {0}-{1} type arguments; provide these with an '@extends' tag. | Error | Reference |
| TS8028 | JSDoc '...' may only appear in the last parameter of a signature. | Error | Reference |
| TS8029 | JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type. | Error | Reference |
| TS8030 | A JSDoc '@type' tag on a function must have a signature with the correct number of arguments. | Error | Reference |
| TS8031 | You cannot rename a module via a global import. | Error | Reference |
| TS8032 | Qualified name '{0}' is not allowed without a leading '@param {object} {1}'. | Error | Reference |
| TS8033 | A JSDoc '@typedef' comment may not contain multiple '@type' tags. | Error | Reference |
| TS8034 | The tag was first specified here. | Error | Reference |
| TS8035 | You cannot rename elements that are defined in a 'node_modules' folder. | Error | Reference |
| TS8036 | You cannot rename elements that are defined in another 'node_modules' folder. | Error | Reference |
| TS8037 | Type satisfaction expressions can only be used in TypeScript files. | Error | Reference |
| TS8038 | Decorators may not appear after 'export' or 'export default' if they also appear before 'export'. | Error | Reference |
| TS8039 | A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag | Error | Reference |
| TS8040 | File rename is not supported by the editor | Error | Reference |
| TS9005 | Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit. | Error | Reference |
| TS9006 | Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration... | Error | Reference |
| TS9007 | Function must have an explicit return type annotation with --isolatedDeclarations. | Error | Reference |
| TS9008 | Method must have an explicit return type annotation with --isolatedDeclarations. | Error | Reference |
| TS9009 | At least one accessor must have an explicit type annotation with --isolatedDeclarations. | Error | Reference |
| TS9010 | Variable must have an explicit type annotation with --isolatedDeclarations. | Error | Reference |
| TS9011 | Parameter must have an explicit type annotation with --isolatedDeclarations. | Error | Reference |
| TS9012 | Property must have an explicit type annotation with --isolatedDeclarations. | Error | Reference |
| TS9013 | Expression type can't be inferred with --isolatedDeclarations. | Error | Reference |
| TS9014 | Computed properties must be number or string literals, variables or dotted expressions with --isolatedDeclarations. | Error | Reference |
| TS9015 | Objects that contain spread assignments can't be inferred with --isolatedDeclarations. | Error | Reference |
| TS9016 | Objects that contain shorthand properties can't be inferred with --isolatedDeclarations. | Error | Reference |
| TS9017 | Only const arrays can be inferred with --isolatedDeclarations. | Error | Reference |
| TS9018 | Arrays with spread elements can't inferred with --isolatedDeclarations. | Error | Reference |
| TS9019 | Binding elements with initializers can't be exported directly with --isolatedDeclarations. | Error | Reference |
| TS9020 | Enum member initializers must be computable without references to external symbols with --isolatedDeclarations. | Error | Reference |
| TS9021 | Extends clause can't contain an expression with --isolatedDeclarations. | Error | Reference |
| TS9022 | Inference from class expressions is not supported with --isolatedDeclarations. | Error | Reference |
| TS9023 | Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the... | Error | Reference |
| TS9025 | Declaration emit for this parameter requires implicitly adding undefined to its type. This is not supported with --isolatedDeclarations. | Error | Reference |
| TS9026 | Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations. | Error | Reference |
| TS9027 | Add a type annotation to the variable {0}. | Error | Reference |
| TS9028 | Add a type annotation to the parameter {0}. | Error | Reference |
| TS9029 | Add a type annotation to the property {0}. | Error | Reference |
| TS9030 | Add a return type to the function expression. | Error | Reference |
| TS9031 | Add a return type to the function declaration. | Error | Reference |
| TS9032 | Add a return type to the get accessor declaration. | Error | Reference |
| TS9033 | Add a type to parameter of the set accessor declaration. | Error | Reference |
| TS9034 | Add a return type to the method | Error | Reference |
| TS9035 | Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit. | Error | Reference |
Other families: JavaScript, Node.js, npm, React, Next.js, Vite, webpack, Jest