Errors
TypeScript errors
TSxxxx compiler errors.
1,407 entries0 written pages
Showing 801 to 850 of 1,407Source: TypeScript diagnosticMessages.json
| Code | Error | Category | Page |
|---|---|---|---|
| TS2723 | Cannot invoke an object which is possibly 'null' or 'undefined'. | Error | Reference |
| TS2724 | '{0}' has no exported member named '{1}'. Did you mean '{2}'? | Error | Reference |
| TS2725 | Class name cannot be 'Object' when targeting ES5 and above with module {0}. | Error | Reference |
| TS2726 | Cannot find lib definition for '{0}'. | Error | Reference |
| TS2727 | Cannot find lib definition for '{0}'. Did you mean '{1}'? | Error | Reference |
| TS2729 | Property '{0}' is used before its initialization. | Error | Reference |
| TS2730 | An arrow function cannot have a 'this' parameter. | Error | Reference |
| TS2731 | Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'. | Error | Reference |
| TS2732 | Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension. | Error | Reference |
| TS2733 | Property '{0}' was also declared here. | Error | Reference |
| TS2734 | Are you missing a semicolon? | Error | Reference |
| TS2735 | Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'? | Error | Reference |
| TS2736 | Operator '{0}' cannot be applied to type '{1}'. | Error | Reference |
| TS2737 | BigInt literals are not available when targeting lower than ES2020. | Error | Reference |
| TS2739 | Type '{0}' is missing the following properties from type '{1}': {2} | Error | Reference |
| TS2740 | Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more. | Error | Reference |
| TS2741 | Property '{0}' is missing in type '{1}' but required in type '{2}'. | Error | Reference |
| TS2742 | The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary. | Error | Reference |
| TS2743 | No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments. | Error | Reference |
| TS2744 | Type parameter defaults can only reference previously declared type parameters. | Error | Reference |
| TS2745 | This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided. | Error | Reference |
| TS2746 | This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided. | Error | Reference |
| TS2747 | '{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'. | Error | Reference |
| TS2748 | Cannot access ambient const enums when '{0}' is enabled. | Error | Reference |
| TS2749 | '{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'? | Error | Reference |
| TS2750 | The implementation signature is declared here. | Error | Reference |
| TS2751 | Circularity originates in type at this location. | Error | Reference |
| TS2752 | The first export default is here. | Error | Reference |
| TS2753 | Another export default is here. | Error | Reference |
| TS2754 | 'super' may not use type arguments. | Error | Reference |
| TS2755 | No constituent of type '{0}' is callable. | Error | Reference |
| TS2756 | Not all constituents of type '{0}' are callable. | Error | Reference |
| TS2757 | Type '{0}' has no call signatures. | Error | Reference |
| TS2758 | Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other. | Error | Reference |
| TS2759 | No constituent of type '{0}' is constructable. | Error | Reference |
| TS2760 | Not all constituents of type '{0}' are constructable. | Error | Reference |
| TS2761 | Type '{0}' has no construct signatures. | Error | Reference |
| TS2762 | Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other. | Error | Reference |
| TS2763 | Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'. | Error | Reference |
| TS2764 | Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'. | Error | Reference |
| TS2765 | Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'. | Error | Reference |
| TS2766 | Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always... | Error | Reference |
| TS2767 | The '{0}' property of an iterator must be a method. | Error | Reference |
| TS2768 | The '{0}' property of an async iterator must be a method. | Error | Reference |
| TS2769 | No overload matches this call. | Error | Reference |
| TS2770 | The last overload gave the following error. | Error | Reference |
| TS2771 | The last overload is declared here. | Error | Reference |
| TS2772 | Overload {0} of {1}, '{2}', gave the following error. | Error | Reference |
| TS2773 | Did you forget to use 'await'? | Error | Reference |
| TS2774 | This condition will always return true since this function is always defined. Did you mean to call it instead? | Error | Reference |
Other families: JavaScript, Node.js, npm, React, Next.js, Vite, webpack, Jest