Errors
TypeScript errors
TSxxxx compiler errors.
1,407 entries0 written pages
Showing 701 to 750 of 1,407Source: TypeScript diagnosticMessages.json
| Code | Error | Category | Page |
|---|---|---|---|
| TS2611 | '{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor. | Error | Reference |
| TS2612 | Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier... | Error | Reference |
| TS2613 | Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead? | Error | Reference |
| TS2614 | Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead? | Error | Reference |
| TS2615 | Type of property '{0}' circularly references itself in mapped type '{1}'. | Error | Reference |
| TS2616 | '{0}' can only be imported by using 'import {1} = require({2})' or a default import. | Error | Reference |
| TS2617 | '{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import. | Error | Reference |
| TS2618 | Source has {0} element(s) but target requires {1}. | Error | Reference |
| TS2619 | Source has {0} element(s) but target allows only {1}. | Error | Reference |
| TS2620 | Target requires {0} element(s) but source may have fewer. | Error | Reference |
| TS2621 | Target allows only {0} element(s) but source may have more. | Error | Reference |
| TS2623 | Source provides no match for required element at position {0} in target. | Error | Reference |
| TS2624 | Source provides no match for variadic element at position {0} in target. | Error | Reference |
| TS2625 | Variadic element at position {0} in source does not match element at position {1} in target. | Error | Reference |
| TS2626 | Type at position {0} in source is not compatible with type at position {1} in target. | Error | Reference |
| TS2627 | Type at positions {0} through {1} in source is not compatible with type at position {2} in target. | Error | Reference |
| TS2628 | Cannot assign to '{0}' because it is an enum. | Error | Reference |
| TS2629 | Cannot assign to '{0}' because it is a class. | Error | Reference |
| TS2630 | Cannot assign to '{0}' because it is a function. | Error | Reference |
| TS2631 | Cannot assign to '{0}' because it is a namespace. | Error | Reference |
| TS2632 | Cannot assign to '{0}' because it is an import. | Error | Reference |
| TS2633 | JSX property access expressions cannot include JSX namespace names | Error | Reference |
| TS2634 | '{0}' index signatures are incompatible. | Error | Reference |
| TS2635 | Type '{0}' has no signatures for which the type argument list is applicable. | Error | Reference |
| TS2636 | Type '{0}' is not assignable to type '{1}' as implied by variance annotation. | Error | Reference |
| TS2637 | Variance annotations are only supported in type aliases for object, function, constructor, and mapped types. | Error | Reference |
| TS2638 | Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator. | Error | Reference |
| TS2639 | React components cannot include JSX namespace names | Error | Reference |
| TS2649 | Cannot augment module '{0}' with value exports because it resolves to a non-module entity. | Error | Reference |
| TS2650 | Non-abstract class expression is missing implementations for the following members of '{0}': {1} and {2} more. | Error | Reference |
| TS2651 | A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums. | Error | Reference |
| TS2652 | Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead. | Error | Reference |
| TS2653 | Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'. | Error | Reference |
| TS2654 | Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2}. | Error | Reference |
| TS2655 | Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2} and {3} more. | Error | Reference |
| TS2656 | Non-abstract class expression is missing implementations for the following members of '{0}': {1}. | Error | Reference |
| TS2657 | JSX expressions must have one parent element. | Error | Reference |
| TS2658 | Type '{0}' provides no match for the signature '{1}'. | Error | Reference |
| TS2659 | 'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher. | Error | Reference |
| TS2660 | 'super' can only be referenced in members of derived classes or object literal expressions. | Error | Reference |
| TS2661 | Cannot export '{0}'. Only local declarations can be exported from a module. | Error | Reference |
| TS2662 | Cannot find name '{0}'. Did you mean the static member '{1}.{0}'? | Error | Reference |
| TS2663 | Cannot find name '{0}'. Did you mean the instance member 'this.{0}'? | Error | Reference |
| TS2664 | Invalid module name in augmentation, module '{0}' cannot be found. | Error | Reference |
| TS2665 | Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented. | Error | Reference |
| TS2666 | Exports and export assignments are not permitted in module augmentations. | Error | Reference |
| TS2667 | Imports are not permitted in module augmentations. Consider moving them to the enclosing external module. | Error | Reference |
| TS2668 | 'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible. | Error | Reference |
| TS2669 | Augmentations for the global scope can only be directly nested in external modules or ambient module declarations. | Error | Reference |
| TS2670 | Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context. | Error | Reference |
Other families: JavaScript, Node.js, npm, React, Next.js, Vite, webpack, Jest