diff options
author | andrewdkim <adkim414@gmail.com> | 2019-07-29 12:24:03 -0400 |
---|---|---|
committer | andrewdkim <adkim414@gmail.com> | 2019-07-29 12:24:03 -0400 |
commit | 10a5b5a99ae77d890412b3a3d25b6b85c935f25b (patch) | |
tree | 506f98d8632df09cfc1f9d25bf0e81891575f623 /src/new_fields/Types.ts | |
parent | afe2355cd66c98e391965ebfe022d8f8607ac794 (diff) | |
parent | e7ea2028f54787d6c92fb22b789f17b7268d3793 (diff) |
Merged from master
Diffstat (limited to 'src/new_fields/Types.ts')
-rw-r--r-- | src/new_fields/Types.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_fields/Types.ts b/src/new_fields/Types.ts index f8a4a30b4..565ae2ee3 100644 --- a/src/new_fields/Types.ts +++ b/src/new_fields/Types.ts @@ -78,7 +78,7 @@ export function StrCast(field: FieldResult, defaultVal: string | null = "") { return Cast(field, "string", defaultVal); } -export function BoolCast(field: FieldResult, defaultVal: boolean | null = null) { +export function BoolCast(field: FieldResult, defaultVal: boolean | null = false) { return Cast(field, "boolean", defaultVal); } export function DateCast(field: FieldResult) { |