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