Shim for Composite #1452
shaharkedar
started this conversation in
General
Replies: 1 comment
-
|
@shaharkedar Hi, take a look at the following URL https://github.com/sinclairzx81/typebox/blob/main/example/legacy/composite.ts Most of the 0.34.x functions have 1.0 fallbacks if you need them. Let me know if this helps |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to write a shim function that would bridge between the 0.x Composite schema builder and the new 1.x Interface builder. I tried doing something like the code below, but then I'm losing type inference.
For example:
Will be inferred as
Any ideas on what's the best way to write the shim?
Beta Was this translation helpful? Give feedback.
All reactions