feat(shell): red: update ipc types

This commit is contained in:
Il Harper 2024-03-05 19:18:19 +08:00
parent f5998a4019
commit 1771d2e4df
No known key found for this signature in database
GPG Key ID: 4B71FCA698E7E8EC

View File

@ -3,7 +3,7 @@ export type RedIpcArgs = [RedIpcEvent, RedIpcData]
export interface RedIpcEvent { export interface RedIpcEvent {
type: 'request' | 'response' type: 'request' | 'response'
eventName: string eventName: string
callbackId?: string | number callbackId?: string
promiseStatue?: 'full' promiseStatue?: 'full'
} }