vuepress / core

Vue-Powered Static Site Generator
https://vuepress.vuejs.org
MIT License
2.35k stars 923 forks source link

feat(client): add AutoLink component #1546

Closed Mister-Hope closed 6 months ago

coveralls commented 7 months ago

Pull Request Test Coverage Report for Build 9073382079

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/client/src/components/AutoLink.ts 0 29 0.0%
<!-- Total: 0 29 0.0% -->
Totals Coverage Status
Change from base Build 9066161611: -0.9%
Covered Lines: 689
Relevant Lines: 1717

💛 - Coveralls
Mister-Hope commented 6 months ago

See here https://github.com/vuejs/router/blob/8fbd9c427447a8e4a6ff486ae94224d040fb7b00/packages/router/src/RouterView.ts#L34 as an example

I strongly recommend preserving the prop interface, as extracting prop type from the component will cause issues in type declaration files.