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
Huh; kind of a lazy ask, but are you sure interface Message { text: string } doesn't match Jsonfiable? I didn't think that interface Foo vs. type Foo really mattered to the TS type system.
Granted, we have a few asks for "types that are exactly JSON":
Is it possible to add an option to generate types instead of interfaces?
aka instead of
we would generate
Our specific use case is to conform with
Jsonfiable
https://github.com/sindresorhus/type-fest/blob/main/source/jsonifiable.d.ts
The text was updated successfully, but these errors were encountered: