I was using this library with typescript and having issue with mjs file. Is there any workaround for that?
I get the following error:
Can't import the named export 'getEAW' from non EcmaScript module (only default export is available)
I have tried to import like this too:
import { TableEditor, options, Alignment, FormatType,
HeaderAlignment } from "@susisu/mte-kernel/dist/mte-kernel.js";
but still no luck. How would I get rid of that? One thing was working when I delete the .mjs file from node_modules but then I get the same issue when deploying.
I was using this library with typescript and having issue with mjs file. Is there any workaround for that?
I get the following error:
I have tried to import like this too:
but still no luck. How would I get rid of that? One thing was working when I delete the .mjs file from node_modules but then I get the same issue when deploying.