const AnchorTrait:
Trait<Defaulted<InputTypes<{ placement: (s?: string) => NonNullable<vec2>, offset: (value?: number) => number }>, { placement: string, offset: number }>,
OutputTypes<{ placement: (s?: string) => NonNullable<vec2>, offset: (value?: number) => number }>>
= (
input: A,
output: B,
hooks: UseHooks,
) => void
packages / plot / src / traits.ts