Open shaozi opened 3 years ago
I get this error even in JS, not TS.
This is a vite thing. You probably need to install it in devDeps, or not devDeps. whatever works.
I find it works with Typescript, but VSCode doesn't like the options
parameter.
notifier.danger('Error saving: ' + error, { persist: true });
VSCode underlines { persist: true}
because I haven't supplied a number for the duration.
I wish there was more control over positioning/styling. I may have to fork this.
I use typescript with Sveltekit and it gives run time error: