Closed hakimio closed 4 years ago
@lukeed
Now trying to import klona, results in an error saying: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export
. The fix didn't fix anything.
It did fix things in some instances -- but it broke others. Will be addressed in next release.
The current type definition results in an error when using library with TypeScript:
TypeError: klona.default is not a function
To fix this error, type definitions should be changed to the following:
Just like dayjs does it. More info about the error.