mirror of https://github.com/vuejs/vitepress
Since #5156 the vue GlobalComponents augmentation exists in both src/client/index.ts and dist/client/index.d.ts. The unit tests type check included both copies (vitepress mapped to source, theme.d.ts hardcoding ./dist/client/index.js), failing with TS2717. A bare 'vitepress' import resolves to the same dist types for consumers but respects paths in repo tsconfigs, keeping the test program all-source. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>pull/5340/head
parent
83f22a4b7d
commit
8ff1f3e2dd
Loading…
Reference in new issue