chore: shhhhhh

This commit is contained in:
Lewis Crichton 2023-11-25 17:02:40 +00:00
parent c981325fb3
commit 6881ddbea7
No known key found for this signature in database
2 changed files with 7 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
@ -19,5 +19,10 @@
"domain": "codeberg.org",
"type": "Gitea"
}
]
],
"[go]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
}
}

View file

@ -8,7 +8,6 @@ import { IpcEvents } from "@utils/IpcEvents";
import { IpcRes } from "@utils/types";
import { ipcRenderer } from "electron";
import { PluginIpcMappings } from "main/ipcPlugins";
import type { UserThemeHeader } from "main/themes";
function invoke<T = any>(event: IpcEvents, ...args: any[]) {
return ipcRenderer.invoke(event, ...args) as Promise<T>;