const ScaleTrait:
Trait<Defaulted<InputTypes<{ mode: (s?: string) => Domain, divide: (value?: number) => number, unit: (value?: number) => number, base: (value?: number) => number, start: (value?: boolean) => boolean, end: (value?: boolean) => boolean, zero: (value?: boolean) => boolean, factor: (value?: number) => number, nice: (value?: boolean) => boolean }>, { mode: string, divide: number, unit: number, base: number, start: boolean, end: boolean, zero: boolean, factor: number, nice: boolean }>,
OutputTypes<{ mode: (s?: string) => Domain, divide: (value?: number) => number, unit: (value?: number) => number, base: (value?: number) => number, start: (value?: boolean) => boolean, end: (value?: boolean) => boolean, zero: (value?: boolean) => boolean, factor: (value?: number) => number, nice: (value?: boolean) => boolean }>>
= (
input: A,
output: B,
hooks: UseHooks,
) => void
packages / plot / src / traits.ts