UNPKG

@typed/io

Version:

Runtime IO type system

9 lines 426 B
import { Props } from './helpers'; import { Type } from './Type'; export interface PartialType<A extends Props> extends Type<Partial<{ readonly [K in keyof A]: Type.Of<A[K]>; }>> { readonly properties: A; } export declare const partial: <A extends Readonly<Record<string | number | symbol, import("./Type").Any>>>(properties: A, name: string, expected?: string) => PartialType<A>; //# sourceMappingURL=Partial.d.ts.map