Skip to content

Commit

Permalink
[fix][types]: change minValue and maxValue to accept any. #259
Browse files Browse the repository at this point in the history
  • Loading branch information
rakannimer committed Nov 6, 2018
1 parent 16fd6c5 commit eeb2b5e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "react-google-charts",
"version": "3.0.8",
"version": "3.0.9",
"type": "react-component",
"description": "react-google-charts React component",
"main": "dist/index.cjs.js",
Expand Down
20 changes: 10 additions & 10 deletions src/types.ts
Expand Up @@ -130,16 +130,16 @@ export interface ChartWrapperOptions {
title: string;
backgroundColor: string;
hAxis?: {
minValue?: number;
maxValue?: number;
minValue?: any;
maxValue?: any;
ticks?: number[];
title?: string;
viewWindow?: { max?: number; min?: number };
[otherOptionKey: string]: any;
};
vAxis?: {
minValue?: number;
maxValue?: number;
minValue?: any;
maxValue?: any;
ticks?: number[];
title?: string;
viewWindow?: { max?: number; min?: number };
Expand Down Expand Up @@ -317,8 +317,8 @@ export type GoogleDataTableJS = {
export type GoogleDataTableRowFilter = {
column: number;
value: any;
minValue?: number | null;
maxValue?: number | null;
minValue?: any;
maxValue?: any;
};

export type GoogleDataTableSortColumns =
Expand Down Expand Up @@ -429,16 +429,16 @@ export type GoogleChartOptions = {

title?: string;
hAxis?: {
minValue?: number;
maxValue?: number;
minValue?: any;
maxValue?: any;
ticks?: number[];
title?: string;
viewWindow?: { max?: number; min?: number; [otherOptionKey: string]: any };
[otherOptionKey: string]: any;
};
vAxis?: {
minValue?: number;
maxValue?: number;
minValue?: any;
maxValue?: any;
ticks?: number[];
title?: string;
viewWindow?: { max?: number; min?: number; [otherOptionKey: string]: any };
Expand Down

0 comments on commit eeb2b5e

Please sign in to comment.