Merge objects & other types recursively. A simple & small integration.
Using v ^5.1.3 and: ``` import { merge } from 'merge-anything' ``` I get "Module '"merge-anything"' has no exported member 'merge'". I have tried default export as well. I am using type="module" in my package.json as well as this for my TSConfig: ``` "target": "es2020", "lib": ["es2020"], "module": "node16", "moduleResolution": "NodeNext", "esModuleInterop": true, // Eases ESM support "types": ["node"], "allowSyntheticDefaultImports": true, ``` I think there is something missing in package. If I click (using VSCode) on "merge-anything" it takes me to the declaration file: ``` export * from './merge'; export * from './extensions'; ``` For ESM exports these need extensions. So: ``` export * from './merge.js' export * from './extensions.js' ``` And then it works.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by cyberwombat and has received 19 comments.