use-tweaks
use-tweaks copied to clipboard
Broken Schema types
trafficstars
Using typescript 4.4.2, use-tweaks 0.3.1, and tweakpane 3.1.0:



Return type for useTweaks is {}, regardless of whether I pass in a type for the Schema generic or not. Am I missing something?
I tried upgrading use-tweaks to v0.3.2-alpha.0 and the issue seems to have been addressed

I just upgraded to "use-tweaks": "0.3.2-alpha.0" and still see the problem you describe. 🤷
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
InputParams from @tweakpane/core,not existed will break at red box