File tree 3 files changed +4
-2
lines changed
ecosystem/theme-default/src/client/components
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ module.exports = {
2
2
root : true ,
3
3
extends : 'vuepress' ,
4
4
globals : {
5
- // workaround for vue3.3 slots
6
- defineSlots : 'readonly' ,
7
5
__VUEPRESS_VERSION__ : 'readonly' ,
8
6
__VUEPRESS_BASE__ : 'readonly' ,
9
7
__VUEPRESS_DEV__ : 'readonly' ,
10
8
__VUEPRESS_SSR__ : 'readonly' ,
11
9
__VUE_HMR_RUNTIME__ : 'readonly' ,
12
10
__VUE_OPTIONS_API__ : 'readonly' ,
13
11
__VUE_PROD_DEVTOOLS__ : 'readonly' ,
12
+ // workaround for vue3.3 slots, should be removed once eslint-plugin-vue supports this
13
+ defineSlots : 'readonly' ,
14
14
} ,
15
15
overrides : [
16
16
{
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {
13
13
defineEmits <{
14
14
(e : ' toggle-sidebar' ): void
15
15
}>()
16
+
16
17
defineSlots <{
17
18
before? : (props : Record <never , never >) => any
18
19
after? : (props : Record <never , never >) => any
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ defineProps({
16
16
default: undefined ,
17
17
},
18
18
})
19
+
19
20
defineSlots <{
20
21
default? : () => any
21
22
}>()
You can’t perform that action at this time.
0 commit comments