I am trying to use TypeScripts "moduleResolution": "Bundler"-feature and I'm blocked by the sass-embedded-package.
This is the error that I'm getting from TypeScript:
buildscript.ts:1:30 - error TS7016: Could not find a declaration file for module 'sass-embedded'. '/projectPath/node_modules/sass-embedded/dist/lib/index.mjs' implicitly has an 'any' type.
There are types at '/projectPath/node_modules/sass-embedded/dist/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'sass-embedded' library may need to update its package.json or typings.
From what I can gather it seems that it is no longer enough to specify "types": "dist/types/index.d.ts", the package file should also include the types in exports as well.