Skip to content

Commit 8c3769e

Browse files
committed
🏷️ Fix type check
1 parent 093b81a commit 8c3769e

File tree

1 file changed

+1
-1
lines changed
  • packages/charts/src/chart_types/heatmap/specs

1 file changed

+1
-1
lines changed

packages/charts/src/chart_types/heatmap/specs/heatmap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ interface HeatmapSpecInternal<D extends BaseDatum = Datum> extends Spec {
9898
yAxisLabelFormatter: LabelAccessor<string | number>;
9999
}
100100
/** @public */
101-
export type HeatmapSpec = Prettify<HeatmapSpecInternal>;
101+
export type HeatmapSpec<D extends BaseDatum = Datum> = Prettify<HeatmapSpecInternal<D>>;
102102

103103
/** @internal */
104104
export const buildProps = buildSFProps<HeatmapSpecInternal>()(

0 commit comments

Comments
 (0)