This repository was archived by the owner on Jan 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +32
-35
lines changed Expand file tree Collapse file tree 7 files changed +32
-35
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const { sidebarExpanded } = useDevToolsSettings()
11
11
<FullscreenButton v-if =" !isInPopup" />
12
12
<VDDarkToggle v-slot =" { toggle, isDark }" >
13
13
<VDButton n =" sm primary" @click =" toggle" >
14
- <div carbon-sun translate-y--1px dark:carbon-moon />
14
+ <div carbon-sun dark:carbon-moon translate-y--1px />
15
15
{{ isDark.value ? "Dark" : "Light" }}
16
16
</VDButton >
17
17
</VDDarkToggle >
Original file line number Diff line number Diff line change 1
- /* eslint-disable @typescript-eslint/indent */
2
1
import type { ComponentInternalInstance } from 'vue'
3
2
import { getInstanceName } from '@vite-plugin-vue-devtools/core'
4
3
import { camelize , getUniqueComponentId , returnError } from './util'
@@ -104,13 +103,13 @@ function processProps(instance: ComponentInternalInstance) {
104
103
value : returnError ( ( ) => instance . props [ key ] ) ,
105
104
meta : propDefinition
106
105
? {
107
- type : propDefinition . type ? getPropType ( propDefinition . type ) : 'any' ,
108
- required : ! ! propDefinition . required ,
109
- ...propDefinition . default != null ? { default : propDefinition . default . toString ( ) } : { } ,
110
- }
106
+ type : propDefinition . type ? getPropType ( propDefinition . type ) : 'any' ,
107
+ required : ! ! propDefinition . required ,
108
+ ...propDefinition . default != null ? { default : propDefinition . default . toString ( ) } : { } ,
109
+ }
111
110
: {
112
- type : 'invalid' ,
113
- } ,
111
+ type : 'invalid' ,
112
+ } ,
114
113
editable : false ,
115
114
} )
116
115
}
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ const showTabGroup = ref(false)
114
114
<div >
115
115
<VDDarkToggle v-slot =" { toggle, isDark }" >
116
116
<VDButton n =" primary" @click =" toggle" >
117
- <div carbon-sun translate-y--1px dark:carbon-moon /> {{ isDark.value ? 'Dark' : 'Light' }}
117
+ <div carbon-sun dark:carbon-moon translate-y--1px /> {{ isDark.value ? 'Dark' : 'Light' }}
118
118
</VDButton >
119
119
</VDDarkToggle >
120
120
</div >
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"target" : " esnext" ,
4
- "module" : " esnext" ,
5
4
"lib" : [" esnext" , " DOM" ],
6
- "moduleResolution" : " node" ,
7
- "esModuleInterop" : true ,
8
- "strict" : true ,
9
5
"jsx" : " preserve" ,
10
- "allowJs" : true ,
11
- "strictNullChecks" : true ,
12
- "resolveJsonModule" : true ,
13
- "noImplicitAny" : false ,
6
+ "module" : " esnext" ,
7
+ "moduleResolution" : " node" ,
8
+ "paths" : {
9
+ "~/*" : [" ./*" ]
10
+ },
14
11
"types" : [
15
12
" vite-plugin-pages/client" ,
16
13
" vite/client" ,
17
14
" vite-plugin-vue-devtools/client"
18
15
],
19
- "paths" : {
20
- "~/*" : [" ./*" ]
21
- }
16
+ "resolveJsonModule" : true ,
17
+ "allowJs" : true ,
18
+ "esModuleInterop" : true ,
19
+ "strict" : true ,
20
+ "strictNullChecks" : true ,
21
+ "noImplicitAny" : false
22
22
},
23
23
"exclude" : [" node_modules" , " dist" ]
24
24
}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ declare interface ExecNpmScriptOptions {
30
30
callback ?: ( type : string , data : string ) => void
31
31
}
32
32
33
-
34
33
declare interface RPCFunctions {
35
34
componentGraph ( ) : Promise < ModuleInfo [ ] >
36
35
inspectClientUrl ( ) : string
@@ -50,7 +49,6 @@ declare interface RPCFunctions {
50
49
root ( ) : string
51
50
}
52
51
53
-
54
52
declare interface PackageMeta {
55
53
type : string
56
54
version : string
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"target" : " ESNext" ,
4
+ "lib" : [" ESNext" , " DOM" ],
5
+ "jsx" : " preserve" ,
4
6
"useDefineForClassFields" : true ,
5
7
"module" : " ESNext" ,
6
8
"moduleResolution" : " Node" ,
7
- "strict" : true ,
8
- "jsx" : " preserve" ,
9
- "sourceMap" : true ,
10
9
"resolveJsonModule" : true ,
10
+ "sourceMap" : true ,
11
11
"isolatedModules" : true ,
12
12
"esModuleInterop" : true ,
13
- "lib " : [ " ESNext " , " DOM " ] ,
13
+ "strict " : true ,
14
14
"skipLibCheck" : true
15
15
}
16
16
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"target" : " esnext" ,
4
- "module" : " esnext" ,
5
4
"lib" : [" esnext" , " DOM" ],
6
- "moduleResolution" : " node" ,
7
- "esModuleInterop" : true ,
8
- "strict" : true ,
9
5
"jsx" : " preserve" ,
10
- "allowJs" : true ,
11
- "strictNullChecks" : true ,
12
- "resolveJsonModule" : true ,
13
- "noImplicitAny" : false ,
6
+ "module" : " esnext" ,
7
+ "moduleResolution" : " node" ,
14
8
"types" : [
15
9
" vite/client" ,
16
10
" vitest/globals"
17
- ]
11
+ ],
12
+ "resolveJsonModule" : true ,
13
+ "allowJs" : true ,
14
+ "esModuleInterop" : true ,
15
+ "strict" : true ,
16
+ "strictNullChecks" : true ,
17
+ "noImplicitAny" : false
18
18
},
19
19
"exclude" : [" node_modules" , " dist" , " src/node/app.js" ]
20
20
}
You can’t perform that action at this time.
0 commit comments