I believe these two should be using Omit<DotOptions, "symbol"> rather than Exclude<DotOptions, "symbol">:
|
export function circle(data?: Data, options?: Exclude<DotOptions, "symbol">): Dot; |
|
export function hexagon(data?: Data, options?: Exclude<DotOptions, "symbol">): Dot; |
(Exclude filters out members from unions, whereas Omit filters out properties)
I believe these two should be using
Omit<DotOptions, "symbol">rather thanExclude<DotOptions, "symbol">:plot/src/marks/dot.d.ts
Line 141 in 7d18179
plot/src/marks/dot.d.ts
Line 144 in 7d18179
(
Excludefilters out members from unions, whereasOmitfilters out properties)