however this will result in TS error, saying that infer is not found, however when you. change it to this
type ButtonPropssss = W.Infer<typeof ButtonSSS>;
works correctly, and not TS error.
Once again if this a mistake from my side, please do ignore my pull request
Changelog
I think the docs have a typo, however if this is a mistake please disregard my pull request
in the docs it show the usage of
infer
like thishowever this will result in TS error, saying that
infer
is not found, however when you. change it to thistype ButtonPropssss = W.Infer<typeof ButtonSSS>;
works correctly, and not TS error. Once again if this a mistake from my side, please do ignore my pull request
Cheers, Enyel