mirror of
https://github.com/gavvvr/obsidian-timecodes-plugin.git
synced 2026-07-22 05:38:08 +00:00
fix: resolve TS7006 in Vitest config after Vitest upgrade
Fixes: > error TS7006: Parameter 'id' implicitly has an 'any' type.
This commit is contained in:
parent
64cbaa3f08
commit
e276168617
1 changed files with 2 additions and 2 deletions
|
|
@ -5,12 +5,12 @@ export default defineConfig({
|
|||
{
|
||||
name: 'virtual-obsidian',
|
||||
enforce: 'pre',
|
||||
resolveId(id) {
|
||||
resolveId(id: string) {
|
||||
if (id === 'obsidian') {
|
||||
return '\0obsidian'
|
||||
}
|
||||
},
|
||||
load(id) {
|
||||
load(id: string) {
|
||||
if (id === '\0obsidian') {
|
||||
return `
|
||||
export class Plugin {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue