网站首页
编程语言
数据库
系统相关
其他分享
编程问答
Zod
2024-12-21
[Typescript] Zod.input()
TheInputisDifferentthantheOutputWe'vereachedthepointwithZodwhereourinputisdifferentthanouroutput.Inotherwords,youcangeneratetypesbasedoninputaswellasgeneratingtypesbasedontheoutput.Forexample,let'screat