mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
chore: Update eslint to v9 with flat config (#1412)
* chore: Update eslint to v9 with flat config * disable eslint for that whole example file. v1 not worth it imo * update ts-eslint * lock versions * ci: update pnpm
This commit is contained in:
@@ -18,7 +18,7 @@ async function listenToEventIfNeeded(event: string): Promise<void> {
|
||||
|
||||
// We're not awaiting this Promise to prevent issues with Promise.all
|
||||
// the listener will still be registered in time.
|
||||
appWindow.listen<ProgressPayload>(event, ({ payload }) => {
|
||||
void appWindow.listen<ProgressPayload>(event, ({ payload }) => {
|
||||
const handler = handlers.get(payload.id);
|
||||
if (handler != null) {
|
||||
handler(payload.progress, payload.total);
|
||||
|
||||
Reference in New Issue
Block a user