svelteplot 0.10.3-pr-402.2 → 0.10.3-pr-402.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/scale.d.ts +1 -1
- package/package.json +1 -1
package/dist/types/scale.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { ScaleBand, ScaleLinear, ScaleOrdinal } from 'd3-scale';
|
|
|
2
2
|
import type { ChannelAccessor, RawValue, ScaledChannelName } from './index.js';
|
|
3
3
|
export type AxisXAnchor = 'bottom' | 'top' | 'both';
|
|
4
4
|
export type AxisYAnchor = 'left' | 'right' | 'both';
|
|
5
|
-
export type TickFormatFunction = (d: number | Date, index: number, ticks: (number | Date)[]) => string;
|
|
5
|
+
export type TickFormatFunction = (d: number | Date, index: number, ticks: (number | string | Date)[]) => string;
|
|
6
6
|
export type ScaleName = 'x' | 'y' | 'r' | 'color' | 'opacity' | 'length' | 'symbol' | 'fx' | 'fy' | 'projection';
|
|
7
7
|
export type ScaleOptions = {
|
|
8
8
|
/**
|