deep-object-diff
deep-object-diff copied to clipboard
Fix typings resolution when using TypeScript 4.7+ with ESM
TypeScript in ESM mode is trying to use file index.d.mts for types but there is no such file. So we need to provide custom path to typings file. Root types field is ignored in ESM mode
For reference: same issue in another package https://github.com/telegraf/telegraf/issues/1629#issue-1248403562