Errors
TypeScript errors
TSxxxx compiler errors.
1,407 entries0 written pages
Showing 651 to 700 of 1,407Source: TypeScript diagnosticMessages.json
| Code | Error | Category | Page |
|---|---|---|---|
| TS2550 | Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or... | Error | Reference |
| TS2551 | Property '{0}' does not exist on type '{1}'. Did you mean '{2}'? | Error | Reference |
| TS2552 | Cannot find name '{0}'. Did you mean '{1}'? | Error | Reference |
| TS2553 | Computed values are not permitted in an enum with string valued members. | Error | Reference |
| TS2554 | Expected {0} arguments, but got {1}. | Error | Reference |
| TS2555 | Expected at least {0} arguments, but got {1}. | Error | Reference |
| TS2556 | A spread argument must either have a tuple type or be passed to a rest parameter. | Error | Reference |
| TS2558 | Expected {0} type arguments, but got {1}. | Error | Reference |
| TS2559 | Type '{0}' has no properties in common with type '{1}'. | Error | Reference |
| TS2560 | Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it? | Error | Reference |
| TS2561 | Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'? | Error | Reference |
| TS2562 | Base class expressions cannot reference class type parameters. | Error | Reference |
| TS2563 | The containing function or module body is too large for control flow analysis. | Error | Reference |
| TS2564 | Property '{0}' has no initializer and is not definitely assigned in the constructor. | Error | Reference |
| TS2565 | Property '{0}' is used before being assigned. | Error | Reference |
| TS2566 | A rest element cannot have a property name. | Error | Reference |
| TS2567 | Enum declarations can only merge with namespace or other enum declarations. | Error | Reference |
| TS2568 | Property '{0}' may not exist on type '{1}'. Did you mean '{2}'? | Error | Reference |
| TS2570 | Could not find name '{0}'. Did you mean '{1}'? | Error | Reference |
| TS2571 | Object is of type 'unknown'. | Error | Reference |
| TS2574 | A rest element type must be an array type. | Error | Reference |
| TS2575 | No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments. | Error | Reference |
| TS2576 | Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead? | Error | Reference |
| TS2577 | Return type annotation circularly references itself. | Error | Reference |
| TS2578 | Unused '@ts-expect-error' directive. | Error | Reference |
| TS2580 | Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. | Error | Reference |
| TS2581 | Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`. | Error | Reference |
| TS2582 | Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev... | Error | Reference |
| TS2583 | Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later. | Error | Reference |
| TS2584 | Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'. | Error | Reference |
| TS2585 | '{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler... | Error | Reference |
| TS2588 | Cannot assign to '{0}' because it is a constant. | Error | Reference |
| TS2589 | Type instantiation is excessively deep and possibly infinite. | Error | Reference |
| TS2590 | Expression produces a union type that is too complex to represent. | Error | Reference |
| TS2591 | Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the... | Error | Reference |
| TS2592 | Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to... | Error | Reference |
| TS2593 | Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev... | Error | Reference |
| TS2594 | This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag. | Error | Reference |
| TS2595 | '{0}' can only be imported by using a default import. | Error | Reference |
| TS2596 | '{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import. | Error | Reference |
| TS2597 | '{0}' can only be imported by using a 'require' call or by using a default import. | Error | Reference |
| TS2598 | '{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import. | Error | Reference |
| TS2602 | JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist. | Error | Reference |
| TS2603 | Property '{0}' in type '{1}' is not assignable to type '{2}'. | Error | Reference |
| TS2604 | JSX element type '{0}' does not have any construct or call signatures. | Error | Reference |
| TS2606 | Property '{0}' of JSX spread attribute is not assignable to target property. | Error | Reference |
| TS2607 | JSX element class does not support attributes because it does not have a '{0}' property. | Error | Reference |
| TS2608 | The global type 'JSX.{0}' may not have more than one property. | Error | Reference |
| TS2609 | JSX spread child must be an array type. | Error | Reference |
| TS2610 | '{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property. | Error | Reference |
Other families: JavaScript, Node.js, npm, React, Next.js, Vite, webpack, Jest