ERROR in src/app/intervention/details/intervention.details.ts(51,1): error TS1202: Import assignment cannot be used when targeting ECMAScript modules.
Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.
Hello,
I use successfully Masonry in dev environement, importing it like this:
...but I cannot build it. The command :
.. returns:
...but I cannot use those forms of import.
I installed @types/Masonry for typescript.
In the masonry.js.. I see
But how do I import it ?