1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: ipc handlers ts refactor

This commit is contained in:
2022-04-15 14:56:13 +02:00
parent 5e2ad8c377
commit 6adc93e1cd
20 changed files with 219 additions and 75 deletions

View File

@ -0,0 +1,7 @@
export type WorkerEvent = 'export-progress' | 'import-progress' | 'query-error' | 'end' | 'cancel' | 'error'
export interface WorkerIpcMessage {
type: WorkerEvent;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
payload: any;
}