UNPKG

shapeit

Version:

Object validation tools for Javascript and, specially, Typescript

6 lines (5 loc) 247 B
import { GuardSchema } from '../types/guards'; /** * Equivalent of `shape(schema, false)` */ export default function looseShape<V extends GuardSchema>(schema: V): import("../types/guards").ShapeGuard<import("../types/guards").UnshapeSchema<V>>;