const AxesTrait:
Trait<Defaulted<InputTypes<{ axes: (s?: string | number[]) => string, range: (vecs?: ArrayLike[]) => vec2[] }>, { axes: string }>,
OutputTypes<{ axes: (s?: string | number[]) => string, range: (vecs?: ArrayLike[]) => vec2[] }>>
= (
input: A,
output: B,
hooks: UseHooks,
) => void
packages / plot / src / traits.ts