*Add error property to RPCResponse
This commit is contained in:
parent
d7b0c7d4de
commit
152522e579
|
@ -7,9 +7,6 @@ export interface RPCRequest {
|
|||
|
||||
export interface RPCResponse {
|
||||
updated: number;
|
||||
data:
|
||||
| any
|
||||
| {
|
||||
error: string | boolean;
|
||||
};
|
||||
data: any;
|
||||
error?: string
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue