packages/vue/_src/vitePlugin.ts:29:19 - error TS18046: 'config' is of type 'unknown'.
29 Object.assign(config.compilerOptions, {
~~~~~~
packages/vue/_src/vitePlugin.ts:50:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
50 files[fileName] = { version: 0 }
~~~~~~~~~~~~~~~
packages/vue/_src/vitePlugin.ts:56:37 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
56 getScriptVersion: fileName => files[fileName] && files[fileName].version.toString(),
~~~~~~~~~~~~~~~
packages/vue/_src/vitePlugin.ts:56:56 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
56 getScriptVersion: fileName => files[fileName] && files[fileName].version.toString(),
~~~~~~~~~~~~~~~
packages/vue/_src/vitePlugin.ts:94:19 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
94 files[path].version = files[path].version + 1
~~~~~~~~~~~
packages/vue/_src/vitePlugin.ts:94:41 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
94 files[path].version = files[path].version + 1
~~~~~~~~~~~
packages/vue/_src/vitePlugin.ts:124:17 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
124 files[id].version = files[id].version + 1
~~~~~~~~~
packages/vue/_src/vitePlugin.ts:124:37 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
124 files[id].version = files[id].version + 1
~~~~~~~~~
packages/vue/_src/vitePlugin.ts:154:18 - error TS2532: Object is possibly 'undefined'.
154 code = out[0].text
~~~~~~
[06:36:40] Found 9 errors. Watching for file changes.
packages/vue/_src/vitePlugin.ts:29:19 - error TS18046: 'config' is of type 'unknown'.
29 Object.assign(config.compilerOptions, {
~~~~~~
packages/vue/_src/vitePlugin.ts:50:9 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
50 files[fileName] = { version: 0 }
~~~~~~~~~~~~~~~
packages/vue/_src/vitePlugin.ts:56:37 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
56 getScriptVersion: fileName => files[fileName] && files[fileName].version.toString(),
~~~~~~~~~~~~~~~
packages/vue/_src/vitePlugin.ts:56:56 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
56 getScriptVersion: fileName => files[fileName] && files[fileName].version.toString(),
~~~~~~~~~~~~~~~
packages/vue/_src/vitePlugin.ts:94:19 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
94 files[path].version = files[path].version + 1
~~~~~~~~~~~
packages/vue/_src/vitePlugin.ts:94:41 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
94 files[path].version = files[path].version + 1
~~~~~~~~~~~
packages/vue/_src/vitePlugin.ts:124:17 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
124 files[id].version = files[id].version + 1
~~~~~~~~~
packages/vue/_src/vitePlugin.ts:124:37 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
No index signature with a parameter of type 'string' was found on type '{}'.
124 files[id].version = files[id].version + 1
~~~~~~~~~
packages/vue/_src/vitePlugin.ts:154:18 - error TS2532: Object is possibly 'undefined'.
154 code = out[0].text
~~~~~~
[06:36:40] Found 9 errors. Watching for file changes.