Open krutikapatil-bh opened 1 year ago
Error: node_modules/ngx-daterangepicker-material/daterangepicker.component.d.ts:3:8 - error TS1259: Module '".../node_modules/dayjs/esm/index"' can only be default-imported using the 'allowSyntheticDefaultImports' flag
3 import dayjs, { Dayjs } from 'dayjs/esm';
~~~~~
node_modules/dayjs/esm/index.d.ts:3:1
3 export = dayjs;
~~~~~~~~~~~~~~~
This module is declared with 'export =', and can only be used with a default import when using the 'allowSyntheticDefaultImports' flag.
I'm trying to migrate my Angular app to 15 and get this error after update ngx-daterangepicker-material to 6.0.4.
How can I fix this?
same here and I don't really want to enable allowSyntheticDefaultImports ...
The same problem in Angular 16
for those who are dont care about allowSyntheticDefaultImports, you can just add it to the tsconfg complierOptions with true value
Is ngx-daterangepicker-material 6.0.4 version compatible with Angular 15