Open lorenzo0895 opened 1 year ago
I double this!
Go to your tsconfig.json -> compilerOptions -> and set: "allowSyntheticDefaultImports": true
.
It's a workaround, but it works.
I took it from here: https://github.com/fetrarij/ngx-daterangepicker-material/issues/336#issuecomment-743201841 so it seems it's been an issue for at least 2 years now...
Go to your tsconfig.json -> compilerOptions -> and set:
"allowSyntheticDefaultImports": true
. It's a workaround, but it works. I took it from here: #336 (comment) so it seems it's been an issue for at least 2 years now...
This is working properly. Thanks.
Versions
Describe the bug Ngx-daterangepicker-material is not working due to a dayjs problem.
To Reproduce
npm i ngx-daterangepicker@6.0.2
import { NgxDaterangepickerMd } from 'ngx-daterangepicker-material';
NgxDaterangepickerMd.forRoot()
Expected behavior It should not throw erros at the beginig of the project.
Screenshots![image](https://user-images.githubusercontent.com/82187204/189122148-ce7581d8-9890-41bb-b80e-1987ef166b4d.png)