Skip to content

TS4232: This expression is not callable

Error message

                This expression is not callable. Type 'X' has no call signatures.
              

Quick summary

You're trying to invoke something as a function, but TypeScript sees it as a non-function type.

Why this happens

  • Calling a non-function value

  • Type definition missing the call signature

  • Union type where not all members are callable

Minimal example

✗ Broken code
const fn: string = 'hello';
fn(); // TS4232: string is not callable
✓ Fixed code
const fn: () => string = () => 'hello';
fn(); // ✅ returns 'hello'

Change the type to a function type.

How to diagnose

  • Check the type of the expression being called

  • Verify it's a function type

How to fix

  • Ensure the value is typed as a function

  • Add a call signature to the type

  • Narrow the type to the callable member

← Back to language