7 Replies
@mid something like that should work
no static check
but it does give me error if i pass other values(compile time check)
@.mac Is there a way to do static check?
oh hmmm
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
If it’s an input, it should error if something other than that enum is passed
@.mac @yashkarthik Thank its working, there seems to something wrong with vscode, so after restart I am getting red squiggly underline
Could be a TS server error
But good to hear, just @ me if you need any more help with zod