Seem like there is an issue importing types as the package has multiple exports require, browser, default
Could not find a declaration file for module 'dicom.ts'. '/Users/x/y/z/node_modules/dicom.ts/dist/index.modern.mjs' implicitly has an 'any' type.
There are types at '/Users/x/y/z/node_modules/dicom.ts/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'dicom.ts' library may need to update its package.json or typings.
Typescript 5.2.2
Seem like there is an issue importing types as the package has multiple exports
require
,browser
,default
I believe there must be a .d.ts per export
You can find more info about the issue here https://github.com/microsoft/TypeScript/issues/52363
tsconfig