Skip to content

Type error when generating project with TanStack Router #237

Description

@kfrancois

Steps to reproduce

  1. Run pnpm create solid@latest
  2. Pass the following options
◇  What type of project would you like to create?
│  SolidStart
│
◇  Use Typescript?
│  Yes
│
◇  Which template would you like to use?
│  with-tanstack-router
  1. Run pnpm install

Expected behavior

Project gets scaffolded without any type errors

Actual behavior

In app.config.ts, we see two issues

  1. 'TanStackRouterVite' is deprecated
  2. Type 'Plugin$1<any> | Plugin$1<any>[]' is not assignable to type 'PluginOption'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions