From c84dd7375ba9879e4edcb7f2cd41709ad28c45e9 Mon Sep 17 00:00:00 2001 From: dwightjack Date: Wed, 2 Mar 2022 18:55:55 +0900 Subject: [PATCH] rename isNull to nullable --- src/validators/native.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validators/native.ts b/src/validators/native.ts index c50eefd3..73382cdb 100644 --- a/src/validators/native.ts +++ b/src/validators/native.ts @@ -48,6 +48,6 @@ export const symbol = () => }, }) -export const isNull = () => ({ +export const nullable = () => ({ type: null as unknown as PropType, })