frontend/.pnpm-store/v3/files/d5/691b96748149df499233d4a8ac7c805c4205338e2caf29e2186e4d97e1d6cd1974af4f91087c9e830c38d1d62e2df6167644488ac2c341a8c39af01dade07c

11 lines
635 B
Plaintext

import { EnsureFunction, EnsureBaseOptions, EnsureIsOptional, EnsureDefault } from '../ensure';
type PlainObjectEnsureOptions = {allowedKeys?: string[], ensurePropertyValue?: EnsureFunction};
declare function ensurePlainObject(value: any, options?: PlainObjectEnsureOptions & EnsureBaseOptions): object;
declare function ensurePlainObject(value: any, options?: PlainObjectEnsureOptions & EnsureBaseOptions & EnsureIsOptional): object | null;
declare function ensurePlainObject(value: any, options?: PlainObjectEnsureOptions & EnsureBaseOptions & EnsureIsOptional & EnsureDefault<object>): object;
export default ensurePlainObject;