I get the following message running version 2.1.0
TS1259: Module '"/Users/xxx/Documents/GitHub/xxx/node_modules/deepcopy/index"' can only be default-imported using the 'esModuleInterop' flag
26 import deepcopy from 'deepcopy';
~~~~~~~~
node_modules/deepcopy/index.d.ts:4:1
4 export = deepcopy;
~~~~~~~~~~~~~~~~~~
This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
I'm not sure why it's export =
|
export { deepcopy } from './src/index'; |
I get the following message running version
2.1.0I'm not sure why it's
export =deepcopy.js/dist/cjs/index.d.ts
Line 1 in 38be369