Skip to content

Commit

Permalink
Add missing fields to the ScriptableContext type (#10254)
Browse files Browse the repository at this point in the history
  • Loading branch information
msteiger committed Mar 24, 2022
1 parent 9568a31 commit ec65900
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/index.esm.d.ts
Expand Up @@ -21,6 +21,8 @@ export interface ScriptableContext<TType extends ChartType> {
dataIndex: number;
dataset: UnionToIntersection<ChartDataset<TType>>;
datasetIndex: number;
type: string;
mode: string;
parsed: UnionToIntersection<ParsedDataType<TType>>;
raw: unknown;
}
Expand Down

0 comments on commit ec65900

Please sign in to comment.