Skip to content

type issue on router #616

@moreorover

Description

@moreorover

pnpm create better-t-stack@latest tanstack-check --frontend tanstack-router --backend hono --runtime node --api trpc --auth better-auth --payments none --database postgres --orm drizzle --db-setup docker --package-manager pnpm --git --web-deploy none --server-deploy none --no-install --addons biome turborepo --examples todo

both WebStorm and VSCode show same error. Application works fine otherwise.

TS2742: The inferred type of todoRouter cannot be named without a reference to .pnpm/@types[email protected]/node_modules/@types/pg. This is likely not portable. A type annotation is necessary.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions