Skip to content

Commit

Permalink
fix(types): fix .load() data type
Browse files Browse the repository at this point in the history
Fix wrong data type definition.

Fix #1848
  • Loading branch information
netil authored Jan 8, 2021
1 parent 374f63f commit 7108e7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/chart.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,12 +324,12 @@ export interface Chart {
json?: [{ [key: string]: string }];
rows?: PrimitiveArray[];
columns?: PrimitiveArray[];
data?: DataArray;
data?: Array<{ [key: string]: number }>;
names?: { [key: string]: string };
xs?: { [key: string]: string };
classes?: { [key: string]: string };
categories?: string[];
axes?: { [key: string]: string };
axes?: { [key: string]: string | string[] };
colors?: { [key: string]: string };
headers?: { [key: string]: string };
keys?: { [key: string]: string };
Expand Down

0 comments on commit 7108e7b

Please sign in to comment.