Hello,
im using types its working fine. but when i added the “timeOut.open()” it says “timeOut.open() is not a function”…
this is my code:
let timeOut = datepicker('#timeOut', {
controls: ["time"],
stepMinute: 30,
min: minDate,
inputTyping: false,
max: maxDate,
invalid: [
date
],
}) as Datepicker;
timeOut.open();
what did i do wrong?