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, true)` */ export default function strictShape<V extends GuardSchema>(schema: V): import("../types/guards").ShapeGuard<import("../types/guards").UnshapeSchema<V>>;