Date.firstDayOfWeek doest take any arguments according to typescript daypilot-react.min.d.ts
Asked by Viktor Eriksson
6 years ago.
6 years ago.
Trying to get the first day of the week using the DayPilot.Date class with method firstDayOfWeek. But it returns the wrong day. I see that the code itself accepts the locale as argument but typescript wont allow me to pass the locale cause the method is declared with no arguments.
DayPilot