fix types

This commit is contained in:
NCanggoro 2023-09-17 16:20:50 +07:00
parent 2157534002
commit ae942b8b7c

View File

@ -1,3 +1,2 @@
type BaseNullValueRes = { valid: boolean }; type BaseNullValueRes = { Valid: boolean };
type NullValueRes<Key extends string, Type> = BaseNullValueRes & Record<Key, string | number> type NullValueRes<Key extends string, _> = BaseNullValueRes & Record<Key, string | number>