mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-17 12:42:17 +00:00
Make core fn Zod import type-only (#27103)
This commit is contained in:
parent
5a4596c879
commit
53a3f95088
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { z } from "zod"
|
||||
import type { z } from "zod"
|
||||
|
||||
export function fn<T extends z.ZodType, Result>(schema: T, cb: (input: z.infer<T>) => Result) {
|
||||
const result = (input: z.infer<T>) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue