Skip to content

Commit 73a0812

Browse files
committed
fix(stream): get working with scales updates
1 parent d9e3a5b commit 73a0812

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/stream/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
} from '@nivo/core'
2121
import { OrdinalColorScaleConfig, InheritedColorConfig } from '@nivo/colors'
2222
import { LegendProps } from '@nivo/legends'
23-
import { Scale } from '@nivo/scales'
23+
import { ScaleSpec } from '@nivo/scales'
2424
import { AxisProps } from '@nivo/axes'
2525

2626
declare module '@nivo/stream' {
@@ -73,8 +73,8 @@ declare module '@nivo/stream' {
7373

7474
interface OptionalStreamProps<T> extends SvgDefsAndFill<T>, MotionProps {
7575
stack: StackFunc<T>
76-
xScale: Scale
77-
yScale: Scale
76+
xScale: ScaleSpec
77+
yScale: ScaleSpec
7878

7979
order: StackOrder
8080
offsetType: StackOffset

0 commit comments

Comments
 (0)