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
That would be a pretty heavy lift for this lib. While nice, it would involve walking a TypeScript AST, evaluating each node, and building a Node AST with something like acorn on the fly. As @JoniJnm mentioned, that would be better off a separate plugin.
Hi everyone
I have some complex Typescript interfaces from a 3rd party library and I would like to use superstruct to validate at runtime.
Is there a way I can generate a superstruct schema from a Typescript interface?
eg
The text was updated successfully, but these errors were encountered: