Bug - enable option should support function
li-boxuan opened this issue · comments
According to flatpickr documentation and code, enable
can be an array of functions.
However, ng2-flatpickr defines enable as an array of string/date.
For now, I use
// @ts-ignore
to ignore typescript error as a workaround.