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()
1111 <FullscreenButton v-if =" !isInPopup" />
1212 <VDDarkToggle v-slot =" { toggle, isDark }" >
1313 <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 />
1515 {{ isDark.value ? "Dark" : "Light" }}
1616 </VDButton >
1717 </VDDarkToggle >
Original file line number Diff line number Diff line change 1- /* eslint-disable @typescript-eslint/indent */
21import type { ComponentInternalInstance } from 'vue'
32import { getInstanceName } from '@vite-plugin-vue-devtools/core'
43import { camelize , getUniqueComponentId , returnError } from './util'
@@ -104,13 +103,13 @@ function processProps(instance: ComponentInternalInstance) {
104103 value : returnError ( ( ) => instance . props [ key ] ) ,
105104 meta : propDefinition
106105 ? {
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+ }
111110 : {
112- type : 'invalid' ,
113- } ,
111+ type : 'invalid' ,
112+ } ,
114113 editable : false ,
115114 } )
116115 }
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ const showTabGroup = ref(false)
114114 <div >
115115 <VDDarkToggle v-slot =" { toggle, isDark }" >
116116 <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' }}
118118 </VDButton >
119119 </VDDarkToggle >
120120 </div >
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
33 "target" : " esnext" ,
4- "module" : " esnext" ,
54 "lib" : [" esnext" , " DOM" ],
6- "moduleResolution" : " node" ,
7- "esModuleInterop" : true ,
8- "strict" : true ,
95 "jsx" : " preserve" ,
10- "allowJs" : true ,
11- "strictNullChecks" : true ,
12- "resolveJsonModule" : true ,
13- "noImplicitAny" : false ,
6+ "module" : " esnext" ,
7+ "moduleResolution" : " node" ,
8+ "paths" : {
9+ "~/*" : [" ./*" ]
10+ },
1411 "types" : [
1512 " vite-plugin-pages/client" ,
1613 " vite/client" ,
1714 " vite-plugin-vue-devtools/client"
1815 ],
19- "paths" : {
20- "~/*" : [" ./*" ]
21- }
16+ "resolveJsonModule" : true ,
17+ "allowJs" : true ,
18+ "esModuleInterop" : true ,
19+ "strict" : true ,
20+ "strictNullChecks" : true ,
21+ "noImplicitAny" : false
2222 },
2323 "exclude" : [" node_modules" , " dist" ]
2424}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ declare interface ExecNpmScriptOptions {
3030 callback ?: ( type : string , data : string ) => void
3131}
3232
33-
3433declare interface RPCFunctions {
3534 componentGraph ( ) : Promise < ModuleInfo [ ] >
3635 inspectClientUrl ( ) : string
@@ -50,7 +49,6 @@ declare interface RPCFunctions {
5049 root ( ) : string
5150}
5251
53-
5452declare interface PackageMeta {
5553 type : string
5654 version : string
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
33 "target" : " ESNext" ,
4+ "lib" : [" ESNext" , " DOM" ],
5+ "jsx" : " preserve" ,
46 "useDefineForClassFields" : true ,
57 "module" : " ESNext" ,
68 "moduleResolution" : " Node" ,
7- "strict" : true ,
8- "jsx" : " preserve" ,
9- "sourceMap" : true ,
109 "resolveJsonModule" : true ,
10+ "sourceMap" : true ,
1111 "isolatedModules" : true ,
1212 "esModuleInterop" : true ,
13- "lib " : [ " ESNext " , " DOM " ] ,
13+ "strict " : true ,
1414 "skipLibCheck" : true
1515 }
1616}
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
33 "target" : " esnext" ,
4- "module" : " esnext" ,
54 "lib" : [" esnext" , " DOM" ],
6- "moduleResolution" : " node" ,
7- "esModuleInterop" : true ,
8- "strict" : true ,
95 "jsx" : " preserve" ,
10- "allowJs" : true ,
11- "strictNullChecks" : true ,
12- "resolveJsonModule" : true ,
13- "noImplicitAny" : false ,
6+ "module" : " esnext" ,
7+ "moduleResolution" : " node" ,
148 "types" : [
159 " vite/client" ,
1610 " vitest/globals"
17- ]
11+ ],
12+ "resolveJsonModule" : true ,
13+ "allowJs" : true ,
14+ "esModuleInterop" : true ,
15+ "strict" : true ,
16+ "strictNullChecks" : true ,
17+ "noImplicitAny" : false
1818 },
1919 "exclude" : [" node_modules" , " dist" , " src/node/app.js" ]
2020}
You can’t perform that action at this time.
0 commit comments