From 86cd59cc19b7372829e7f0daf286da81a5a741f5 Mon Sep 17 00:00:00 2001 From: saxaathlete Date: Thu, 14 Mar 2019 14:25:57 +0100 Subject: [PATCH] update type of default prop --- src/relative-range.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relative-range.js b/src/relative-range.js index ae66bef..0c9291b 100644 --- a/src/relative-range.js +++ b/src/relative-range.js @@ -95,7 +95,7 @@ const rangeSchema = { type RangeSchemaType = { type: RangeSchemaTypeEnum; - default?: number | string; + default?: number | string | boolean; enum?: string[]; calculate?: (value: any) => mixed; }