Skip to content

Commit

Permalink
Fix issue where using 'false' as default value would be 'undefined' in
Browse files Browse the repository at this point in the history
the result
  • Loading branch information
runem committed Nov 2, 2019
1 parent 9d367bf commit d703062
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function parsePropertyDecorator(
attrName,
type,
node,
default: def || litConfig.default,
default: def !== undefined ? def : litConfig.default,
required,
jsDoc
}
Expand Down

0 comments on commit d703062

Please sign in to comment.