ngx-daterangepicker-material icon indicating copy to clipboard operation
ngx-daterangepicker-material copied to clipboard

Not import dayjs

Open LorenVu opened this issue 2 years ago • 1 comments

Versions

  • Angular version:
  • component version:

Describe the bug I''m not import { Dayjs } from 'dayjs/esm';

To Reproduce

3 export = dayjs;
      ~~~~~~~~~~~~~~~
    This module is declared with using 'export =', and can only be used with a default import when using the 'allowSyntheticDefaultImports' flag.

LorenVu avatar Nov 21 '22 17:11 LorenVu

In Issue #472 there is a workaround suggested

Joniras avatar Dec 15 '22 09:12 Joniras