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