Fix StartOS 0.4 TypeScript packaging to match SDK API
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
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 }
|
||||
Reference in New Issue
Block a user