This repo has two packages:
library-1
, which is alibrary
which bundle a component that use vue genericlibrary-2
, which uselibrary-1
and run unit test using component oflibrary-1
withfindAllComponents
- Run
pnpm build:1
to buildlibrary-1
- Run
pnpm build:2
to 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