Skip to content

Commit

Permalink
Use Array<T> instead of T[]
Browse files Browse the repository at this point in the history
  • Loading branch information
kageurufu authored Jun 1, 2022
1 parent 78f91fc commit 515b164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/chart.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export interface Chart {
load(this: Chart, args: {
append?: boolean;
url?: string;
json?: { [key: string]: string | number }[] | {[key: string]: Array<string|number>};
json?: { Array<[key: string]: string | number }> | {[key: string]: Array<string | number>};
rows?: PrimitiveArray[];
columns?: PrimitiveArray[];
data?: Array<{ [key: string]: number }>;
Expand Down

0 comments on commit 515b164

Please sign in to comment.