File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
ecosystem/theme-default/src/client/components Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ module.exports = {
22 root : true ,
33 extends : 'vuepress' ,
44 globals : {
5- // workaround for vue3.3 slots
6- defineSlots : 'readonly' ,
75 __VUEPRESS_VERSION__ : 'readonly' ,
86 __VUEPRESS_BASE__ : 'readonly' ,
97 __VUEPRESS_DEV__ : 'readonly' ,
108 __VUEPRESS_SSR__ : 'readonly' ,
119 __VUE_HMR_RUNTIME__ : 'readonly' ,
1210 __VUE_OPTIONS_API__ : 'readonly' ,
1311 __VUE_PROD_DEVTOOLS__ : 'readonly' ,
12+ // workaround for vue3.3 slots, should be removed once eslint-plugin-vue supports this
13+ defineSlots : 'readonly' ,
1414 } ,
1515 overrides : [
1616 {
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {
1313defineEmits <{
1414 (e : ' toggle-sidebar' ): void
1515}>()
16+
1617defineSlots <{
1718 before? : (props : Record <never , never >) => any
1819 after? : (props : Record <never , never >) => any
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ defineProps({
1616 default: undefined ,
1717 },
1818})
19+
1920defineSlots <{
2021 default? : () => any
2122}>()
You can’t perform that action at this time.
0 commit comments