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

package version: 0.5.0