mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
15 lines
345 B
TypeScript
15 lines
345 B
TypeScript
import { z as _z } from 'zod'
|
|
import type { DeepPartial } from './types'
|
|
|
|
type ZodDeepPartial = <T>(a: _z.ZodType<T>) => _z.ZodType<DeepPartial<T>>
|
|
type ZodDeepLoose = <T>(a: _z.ZodType<T>) => _z.ZodType<T>
|
|
|
|
declare module 'zod' {
|
|
namespace z {
|
|
const deepPartial: ZodDeepPartial
|
|
const deepLoose: ZodDeepLoose
|
|
}
|
|
}
|
|
|
|
export { _z as z }
|