Hey there!, I am using an npm dependency that exports types in multiple subfolders.
The structure looks like this:
node_modules/
├─ lib1/
│ ├─ dist/
│ │ ├─ types/
│ │ │ ├─ subfolder1/
│ │ │ │ ├─ OtherType1.d.ts
│ │ │ ├─ index.d.ts
I cannot import them from my project as I can only reference the root, is there some flag in tsconfig that allows this? (Tried with "moduleResolution" but that didn't work)