UNPKG

typia

Version:

Superfast runtime validators with only one line

6 lines (4 loc) 170 B
import { TypeGuardError } from "../../TypeGuardError"; export const functionalAssert = () => ({ errorFactory: (p: TypeGuardError.IProps) => new TypeGuardError(p), });