vuepress / core

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

feat(client): add AutoLink component #1546

Closed Mister-Hope closed 1 month ago

coveralls commented 2 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 1 month 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.