router icon indicating copy to clipboard operation
router copied to clipboard

error TS2344: Type 'TGenerics' does not satisfy the constraint 'Partial<DefaultGenerics>'

Open mickdelaney opened this issue 3 years ago • 0 comments

Describe the bug

Compiler error when I try to build a distribution using typescript & vite

Your Example Website or App

https://github.com/mickdelaney/relay-recoil-post

Steps to Reproduce the Bug or Issue

yarn install yarn build

Expected behavior

expect it to build. it runs fine when I use yarn dev

Screenshots or Videos

Uploading image.png…

Platform

  • OS: macOS & Linux
  • Browser: [e.g. Chrome, Safari, Firefox]
  • node: v16.16.0
  • Version: @tanstack/react-location": "^3.7.4" @tanstack/react-location-devtools": "^3.4.4"

Additional context

it runs fine on yarn dev

mickdelaney avatar Sep 12 '22 18:09 mickdelaney