Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
angorayc committed Jan 24, 2023
1 parent 1c2aeb7 commit f0d4301
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { v4 as uuidv4 } from 'uuid';
import type { GetLensAttributes } from '../../../types';
export const getRiskScoreOverTimeAreaAttributes: GetLensAttributes = (
stackByField,
stackByField = 'host',
extraOptions = { spaceId: 'default' }
) => {
const layerIds = [uuidv4(), uuidv4()];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import type { Status } from '../../../../common/detection_engine/schemas/common'

export type LensAttributes = TypedLensByValueInput['attributes'];
export type GetLensAttributes = (
stackByField: string,
stackByField?: string,
alertsOptions?: ExtraOptions
) => LensAttributes;

Expand Down

0 comments on commit f0d4301

Please sign in to comment.