We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e3a5b commit 73a0812Copy full SHA for 73a0812
1 file changed
packages/stream/index.d.ts
@@ -20,7 +20,7 @@ import {
20
} from '@nivo/core'
21
import { OrdinalColorScaleConfig, InheritedColorConfig } from '@nivo/colors'
22
import { LegendProps } from '@nivo/legends'
23
-import { Scale } from '@nivo/scales'
+import { ScaleSpec } from '@nivo/scales'
24
import { AxisProps } from '@nivo/axes'
25
26
declare module '@nivo/stream' {
@@ -73,8 +73,8 @@ declare module '@nivo/stream' {
73
74
interface OptionalStreamProps<T> extends SvgDefsAndFill<T>, MotionProps {
75
stack: StackFunc<T>
76
- xScale: Scale
77
- yScale: Scale
+ xScale: ScaleSpec
+ yScale: ScaleSpec
78
79
order: StackOrder
80
offsetType: StackOffset
0 commit comments