benjamine / jsondiffpatch

Diff & patch JavaScript objects
MIT License
4.77k stars 464 forks source link

Missing types in the latest build #348

Closed akharkhonov closed 9 months ago

akharkhonov commented 9 months ago

It looks like the latest published build on npm is missing types that are present in the github repo For example, the main.ts file has a smarter typing for Delta https://github.com/benjamine/jsondiffpatch/blob/master/src/types.ts#L36 but from the package itself, I can import only outdated Delta type

image

package version: 0.5.0

Methuselah96 commented 9 months ago

This project was recently converted to TypeScript in https://github.com/benjamine/jsondiffpatch/pull/345. We are working on getting the new types released, but don't have an estimate of when that would be at this moment.

akharkhonov commented 9 months ago

@Methuselah96 got it, thanks for the reply, I just wanted to double-check if this is a known issue, but if it's expected then no problem, I'll just wait for the next release