chore: make zod imports tree-shakeable (#2846)

This commit is contained in:
Mick Lawitzke
2024-12-23 12:13:37 +01:00
committed by GitHub
parent 78be40a286
commit d6179912de
13 changed files with 22 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { z } from 'zod'
import * as z from 'zod'
export const stringInputSchema = z.literal('string').or(z.string().transform(t => t.split('|').find(s => s.trim() === 'string')).pipe(z.string()))