const FontTrait:
Trait<Defaulted<InputTypes<{ family: (t?: string) => string | undefined, weight: (t?: string | number) => number | undefined, style: (t?: string) => string | undefined }>, Partial<InputTypes<{ family: (t?: string) => string | undefined, weight: (t?: string | number) => number | undefined, style: (t?: string) => string | undefined }>>>,
OutputTypes<{ family: (t?: string) => string | undefined, weight: (t?: string | number) => number | undefined, style: (t?: string) => string | undefined }>>
= (
input: A,
output: B,
hooks: UseHooks,
) => void
packages / plot / src / traits.ts