UNPKG
types-json
Version:
latest (4.0.1)
4.0.1
4.0.0
3.2.0
3.1.2
3.1.1
3.1.0
3.0.0
2.0.2
2.0.1
2.0.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.8
1.0.7
1.0.6
Type checking for JSON values
github.com/bconnorwhite/types-json
bconnorwhite/types-json
types-json
/
.auto
/
build
/
optional.d.ts
5 lines
(4 loc)
•
190 B
TypeScript
View Raw
1
2
3
4
5
import
z
from
"zod"
;
export
type
Optional
<T> = T |
undefined
;
export
declare
const
undefinedSchema
: z.
ZodUndefined
;
export
declare
const
isUndefined
:
(
value
:
unknown
) =>
value is
undefined
;