This repo has two packages:
library-1, which is alibrarywhich bundle a component that use vue genericlibrary-2, which uselibrary-1and run unit test using component oflibrary-1withfindAllComponents
- Run
pnpm build:1to buildlibrary-1 - Run
pnpm build:2to buildlibrary-2
The second command should generate No overload matches this call. TS error.
You can also see the error directly in spec.ts file in library-2 folder with IntelliSense.
- NoUseGeneric.spec.ts is OK
- UseGeneric.spec.ts is KO