You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this line should change to below or better types:
export type Filters = Array<[string, string, string | string[]>;
For example, the filters could be in following case involving 'in' operator
[
['field A', 'in', ['value 1', 'value2', 'value3']]
['field B', '==', 'value 4']
]
Steps to Reproduce:
N/A
Expected Result:
export type Filters = Array<[string, string, string | string[]>;
Actual Result:
export type Filters = Array<[string, string, string>;
Environment:
Finos/Perspective 0.10.0, ReactJS, Typescript
The text was updated successfully, but these errors were encountered:
Bug Report
In https://github.com/finos/perspective/blob/master/packages/perspective-viewer/index.d.ts
line 31:
export type Filters = Array<[string, string, string]>;
I think this line should change to below or better types:
export type Filters = Array<[string, string, string | string[]>;
For example, the filters could be in following case involving 'in' operator
[
['field A', 'in', ['value 1', 'value2', 'value3']]
['field B', '==', 'value 4']
]
Steps to Reproduce:
N/A
Expected Result:
export type Filters = Array<[string, string, string | string[]>;
Actual Result:
export type Filters = Array<[string, string, string>;
Environment:
Finos/Perspective 0.10.0, ReactJS, Typescript
The text was updated successfully, but these errors were encountered: