type-alias / @typed/ui/Form

MaskValue

Public type-alias exposed as MaskValue from @typed/ui/Form.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
type-alias

Import

import type { MaskValue } from "@typed/ui/Form";

Signatures

export type MaskValue<Parts extends ReadonlyArray<MaskPart>> = {
    readonly [Part in Parts[number] as Part extends MaskSlot<infer Name> ? Name : never]: Part extends MaskSlot<string, infer Value> ? Value : never;
};

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source