Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The source code uses `module.exports = ...`, not `exports.default = ...`: https://github.com/nunofgs/clean-deep/blob/9d8313db868b239b990f9db352215844ad7ae65a/src/index.js#L14-L22 Given this, TS definitions should use `export =`, not `export default`. See microsoft/TypeScript#7185 (comment). This matters when the project is compiled _without_ the `"esModuleInterop": true` flag. In that case, doing ```ts import cleanDeep from 'clean-deep' cleanDeep(...) ``` would throw an error like `TypeError: clean_deep_1.default is not a function`.
- Loading branch information