mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-08-19 19:17:15 +02:00
chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0 (#1228)
* chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0 * actually apply the rules lol * rebuild --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: FabianLars <fabianlars@fabianlars.de>
This commit is contained in:
co-authored by
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
FabianLars
parent
8aacc312cf
commit
faa89850d0
@@ -34,7 +34,7 @@ async function register(
|
||||
const h = new Channel<string>();
|
||||
h.onmessage = handler;
|
||||
|
||||
return await invoke("plugin:global-shortcut|register", {
|
||||
await invoke("plugin:global-shortcut|register", {
|
||||
shortcut,
|
||||
handler: h,
|
||||
});
|
||||
@@ -62,7 +62,7 @@ async function registerAll(
|
||||
const h = new Channel<string>();
|
||||
h.onmessage = handler;
|
||||
|
||||
return await invoke("plugin:global-shortcut|register_all", {
|
||||
await invoke("plugin:global-shortcut|register_all", {
|
||||
shortcuts,
|
||||
handler: h,
|
||||
});
|
||||
@@ -102,7 +102,7 @@ async function isRegistered(shortcut: string): Promise<boolean> {
|
||||
* @since 2.0.0
|
||||
*/
|
||||
async function unregister(shortcut: string): Promise<void> {
|
||||
return await invoke("plugin:global-shortcut|unregister", {
|
||||
await invoke("plugin:global-shortcut|unregister", {
|
||||
shortcut,
|
||||
});
|
||||
}
|
||||
@@ -118,7 +118,7 @@ async function unregister(shortcut: string): Promise<void> {
|
||||
* @since 2.0.0
|
||||
*/
|
||||
async function unregisterAll(): Promise<void> {
|
||||
return await invoke("plugin:global-shortcut|unregister_all");
|
||||
await invoke("plugin:global-shortcut|unregister_all");
|
||||
}
|
||||
|
||||
export { register, registerAll, isRegistered, unregister, unregisterAll };
|
||||
|
||||
Reference in New Issue
Block a user