zodSilk<
TSchema
>(schema
):TSchema
&GraphQLSilk
<z.output
<TSchema
>,z.input
<TSchema
>>
get GraphQL Silk from Zod Schema
• TSchema extends ZodType
<any
, ZodTypeDef
, any
>
• schema: TSchema
Zod Schema
TSchema
& GraphQLSilk
<z.output
<TSchema
>, z.input
<TSchema
>>
GraphQL Silk Like Zod Schema
packages/zod/src/index.ts:420
zodSilk<
TSilk
>(silk
):TSilk
get GraphQL Silk from Zod Schema
• TSilk extends GraphQLSilk
<any
, any
>
• silk: TSilk
GraphQL Silk
TSilk
GraphQL Silk
packages/zod/src/index.ts:429