UNPKG

object-shape-tester

Version:
9 lines (8 loc) 270 B
import { type Primitive } from '@augment-vir/assert'; import { type Shape } from '../shape/shape.js'; /** * Creates a shape that only allows primitive values. * * @category Shape */ export declare function primitiveShape(defaultValue?: Primitive): Shape<Primitive>;