canjs / can-define

Observable properties
https://canjs.com/doc/can-define.html
MIT License
15 stars 7 forks source link

465 warn for getter with type and 466 default with falsey value #467

Closed mikemitchel closed 5 years ago

mikemitchel commented 5 years ago

This PR fixes two issues - It warns when you have type or Type with a zero argument getter and also fixes Default to warn even when the the default value is falsey (currently it only warned when default had non-falsey values)

closes #465 closes #466