const StrokeTrait:
Trait<Defaulted<InputTypes<{ join: (t?: string) => "miter" | "round" | "bevel" | undefined, dash: (t?: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[] | TensorArray) => Float32Array | undefined, proximity: (t?: number) => number | undefined }>, Partial<InputTypes<{ join: (t?: string) => "miter" | "round" | "bevel" | undefined, dash: (t?: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[] | TensorArray) => Float32Array | undefined, proximity: (t?: number) => number | undefined }>>>,
OutputTypes<{ join: (t?: string) => "miter" | "round" | "bevel" | undefined, dash: (t?: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[] | TensorArray) => Float32Array | undefined, proximity: (t?: number) => number | undefined }>>
= (
input: A,
output: B,
hooks: UseHooks,
) => void
packages / plot / src / traits.ts