Cursor intellisense issue with TRPC and typescript

Typescript IntelliSense does not work with TRPC + React projects. Normal type works like importing or declaring a type in the same file.

export const AuthButton = () => {
  const { data, isLoading } = trpc.auth.public.user.useQuery();
             ^^^^^ any

  if (isLoading) {
    return;
  }

  if (!data) {
    return (
      <Button size="sm" variant="outline" asChild>
        <Link href={routes.signup}>Sign Up</Link>
      </Button>
    );
  }

  return <ProfileAvatar />;
};

I have switched back to VSCode because of this issue.

Device: M4 mac mini
OS: macOS 15.2 (24C101)
Cursor Version: 0.44.11 arm64

Hey, our IntelliSense implementation shouldn’t differ from that in VSCode, so everything should work the same afaik! Can you confirm your extensions and settings match in both Cursor and VSCode?