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