(...args: Parameters<typeof yup.string<A, B>>)
| 189 | |
| 190 | // Built-in replacements |
| 191 | export function yupString<A extends string, B extends yup.Maybe<yup.AnyObject> = yup.AnyObject>(...args: Parameters<typeof yup.string<A, B>>) { |
| 192 | // eslint-disable-next-line no-restricted-syntax |
| 193 | return yup.string(...args).meta({ hexclaveSchemaInfo: { type: "string" } }); |
| 194 | } |
| 195 | export function yupNumber<A extends number, B extends yup.Maybe<yup.AnyObject> = yup.AnyObject>(...args: Parameters<typeof yup.number<A, B>>) { |
| 196 | // eslint-disable-next-line no-restricted-syntax |
| 197 | return yup.number(...args).meta({ hexclaveSchemaInfo: { type: "number" } }); |
no outgoing calls
no test coverage detected