Skip to content
JS
Errors

TypeScript errors

TSxxxx compiler errors.

1,407 entries0 written pages
Showing 801 to 850 of 1,407Source: TypeScript diagnosticMessages.json
CodeError
TS2723Cannot invoke an object which is possibly 'null' or 'undefined'.
TS2724'{0}' has no exported member named '{1}'. Did you mean '{2}'?
TS2725Class name cannot be 'Object' when targeting ES5 and above with module {0}.
TS2726Cannot find lib definition for '{0}'.
TS2727Cannot find lib definition for '{0}'. Did you mean '{1}'?
TS2729Property '{0}' is used before its initialization.
TS2730An arrow function cannot have a 'this' parameter.
TS2731Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'.
TS2732Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension.
TS2733Property '{0}' was also declared here.
TS2734Are you missing a semicolon?
TS2735Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?
TS2736Operator '{0}' cannot be applied to type '{1}'.
TS2737BigInt literals are not available when targeting lower than ES2020.
TS2739Type '{0}' is missing the following properties from type '{1}': {2}
TS2740Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more.
TS2741Property '{0}' is missing in type '{1}' but required in type '{2}'.
TS2742The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary.
TS2743No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments.
TS2744Type parameter defaults can only reference previously declared type parameters.
TS2745This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided.
TS2746This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided.
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}'.
TS2748Cannot access ambient const enums when '{0}' is enabled.
TS2749'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?
TS2750The implementation signature is declared here.
TS2751Circularity originates in type at this location.
TS2752The first export default is here.
TS2753Another export default is here.
TS2754'super' may not use type arguments.
TS2755No constituent of type '{0}' is callable.
TS2756Not all constituents of type '{0}' are callable.
TS2757Type '{0}' has no call signatures.
TS2758Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other.
TS2759No constituent of type '{0}' is constructable.
TS2760Not all constituents of type '{0}' are constructable.
TS2761Type '{0}' has no construct signatures.
TS2762Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other.
TS2763Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'.
TS2764Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'.
TS2765Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'.
TS2766Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always...
TS2767The '{0}' property of an iterator must be a method.
TS2768The '{0}' property of an async iterator must be a method.
TS2769No overload matches this call.
TS2770The last overload gave the following error.
TS2771The last overload is declared here.
TS2772Overload {0} of {1}, '{2}', gave the following error.
TS2773Did you forget to use 'await'?
TS2774This condition will always return true since this function is always defined. Did you mean to call it instead?

Other families: JavaScript, Node.js, npm, React, Next.js, Vite, webpack, Jest