You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It came to my attention while trying to use an awesome library for forms that interface might have some limitation for developers using typescript advance type system.
It would be awesome if there is an option to generate with type keyword instead of interface keyword.
We're going to go ahead with this change in Specta, since the only real advantages provided by interfaces are declaration merging and compatibility with classes, neither of which are of concern to Specta or rspc.
It makes sense to go ahead with the change to types. I have had enough people who know way more Typescript than me, agree making this change is fine. For reference this recent video by Matt Pocock brings up what is essentially the problem we have here.
Hello,
It came to my attention while trying to use an awesome library for forms that
interface
might have some limitation for developers using typescript advance type system.It would be awesome if there is an option to generate with
type
keyword instead ofinterface
keyword.Thanks
See: fabian-hiller/modular-forms#2
The text was updated successfully, but these errors were encountered: