Skip to content

Commit

Permalink
Update typedCharts.ts (#1107)
Browse files Browse the repository at this point in the history
Export `ExtendedDataPoint` to prevent build error when a local project exports type of `Bar`
  • Loading branch information
lukemovement authored Oct 16, 2024
1 parent e6bf7ea commit bce61d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typedCharts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function createTypedChart<
}) as any
}

interface ExtendedDataPoint {
export interface ExtendedDataPoint {
[key: string]: string | number | null | ExtendedDataPoint
}

Expand Down

0 comments on commit bce61d9

Please sign in to comment.