0π
It sounds like you have copies of the file shims.d.ts
in both project βAβ and βBβ? And the problem is that when compiling βBβ the type definitions for tiptap are not found?
A common problem is the location of the .d.ts
file. It must be in a directory where TypeScript will look for source files. Check the "include"
and "exclude"
settings in your tsconfig.json
if you have those options set, and make sure that shims.d.ts
is in one of the included directories, and does not match any of the exclude patterns.
Source:stackexchange.com