Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MGJamJam committed May 9, 2024
1 parent 93bd625 commit e5b60e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bitmovin-analytics-datasource/src/types/queryFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export enum QUERY_FILTER_OPERATORS {

export type QueryFilterOperator = keyof typeof QUERY_FILTER_OPERATORS;

export const SELECTABLE_QUERY_FILTER_OPERATORS: SelectableValue<QueryFilterOperator>[] = [
export const SELECTABLE_QUERY_FILTER_OPERATORS: Array<SelectableValue<QueryFilterOperator>> = [
{ value: QUERY_FILTER_OPERATORS.GT, label: QUERY_FILTER_OPERATORS.GT },
{ value: QUERY_FILTER_OPERATORS.GTE, label: QUERY_FILTER_OPERATORS.GTE },
{ value: QUERY_FILTER_OPERATORS.LT, label: QUERY_FILTER_OPERATORS.LT },
Expand Down
2 changes: 1 addition & 1 deletion bitmovin-analytics-datasource/src/utils/filterUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const isNullFilter = (filterAttribute: QueryAttribute | QueryAdAttribute)
};

const parseValueForInFilter = (rawValue: string) => {
const value: Array<string> = JSON.parse(rawValue);
const value: string[] = JSON.parse(rawValue);
if (!Array.isArray(value)) {
throw new Error();
}
Expand Down

0 comments on commit e5b60e4

Please sign in to comment.