Skip to content

Commit

Permalink
update type of default prop
Browse files Browse the repository at this point in the history
  • Loading branch information
saxaathlete committed Mar 14, 2019
1 parent 0d1a1d1 commit 86cd59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relative-range.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const rangeSchema = {

type RangeSchemaType = {
type: RangeSchemaTypeEnum;
default?: number | string;
default?: number | string | boolean;
enum?: string[];
calculate?: (value: any) => mixed;
}
Expand Down

0 comments on commit 86cd59c

Please sign in to comment.