Skip to content

Commit

Permalink
make defaulted field non maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmorris committed Nov 12, 2020
1 parent 839463f commit 845f359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/stack_alerts/common/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { schema, TypeOf } from '@kbn/config-schema';

export const configSchema = schema.object({
enabled: schema.boolean({ defaultValue: true }),
enableGeoTrackingThresholdAlert: schema.maybe(schema.boolean({ defaultValue: false })),
enableGeoTrackingThresholdAlert: schema.boolean({ defaultValue: false }),
});

export type Config = TypeOf<typeof configSchema>;

0 comments on commit 845f359

Please sign in to comment.