Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Schema types #52

Open
joeyfigaro opened this issue Nov 23, 2022 · 3 comments
Open

Broken Schema types #52

joeyfigaro opened this issue Nov 23, 2022 · 3 comments

Comments

@joeyfigaro
Copy link

joeyfigaro commented Nov 23, 2022

Using typescript 4.4.2, use-tweaks 0.3.1, and tweakpane 3.1.0:
image

image

image

Return type for useTweaks is {}, regardless of whether I pass in a type for the Schema generic or not. Am I missing something?

@joeyfigaro
Copy link
Author

I tried upgrading use-tweaks to v0.3.2-alpha.0 and the issue seems to have been addressed

image

@alecmce
Copy link

alecmce commented Feb 1, 2023

I just upgraded to "use-tweaks": "0.3.2-alpha.0" and still see the problem you describe. 🤷

@boenfu
Copy link

boenfu commented Jun 27, 2023

I just upgraded to "use-tweaks": "0.3.2-alpha.0" and still see the problem you describe. 🤷

you need install
https://www.npmjs.com/package/@tweakpane/core
image

image
InputParams from @tweakpane/core,not existed will break at red box

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

No branches or pull requests

3 participants