Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Can't build project due to VirtuosoProps error in types #61

Open
JurajKavka opened this issue Jul 21, 2023 · 1 comment
Open

Can't build project due to VirtuosoProps error in types #61

JurajKavka opened this issue Jul 21, 2023 · 1 comment

Comments

@JurajKavka
Copy link

Hi,

I'm trying to build my project with react-sortable-tree dependency but it ends on error

node_modules/@nosferatu500/react-sortable-tree/react-sortable-tree.d.ts:63:21 - error TS2314: Generic type 'VirtuosoProps<D, C>' requires 2 type argument(s).

63     virtuosoProps?: VirtuosoProps;
                       ~~~~~~~~~~~~~


Found 1 error in node_modules/@nosferatu500/react-sortable-tree/react-sortable-tree.d.ts:63

I'm using typescript 4.9.5 and

└─┬ @nosferatu500/[email protected]
  └── [email protected]

thank you for any help!

@nosferatu500
Copy link
Owner

Should be fixed in v5, but it's still in alpha.

npm i @nosferatu500/[email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants