diff --git a/types/index.esm.d.ts b/types/index.esm.d.ts index a2933237cb3..287b77d9d55 100644 --- a/types/index.esm.d.ts +++ b/types/index.esm.d.ts @@ -3138,6 +3138,15 @@ export type ScaleType = keyof ScaleTypeRegistry; interface CartesianParsedData { x: number; y: number; + + // Only specified when stacked bars are enabled + _stacks?: { + // Key is the stack ID which is generally the axis ID + [key: string]: { + // Inner key is the datasetIndex + [key: number]: number; + } + } } interface BarParsedData extends CartesianParsedData {