diff --git a/src/types.ts b/src/types.ts index 6449ece..eabf0f5 100644 --- a/src/types.ts +++ b/src/types.ts @@ -7,9 +7,6 @@ export interface RPCRequest { export interface RPCResponse { updated: number; - data: - | any - | { - error: string | boolean; - }; + data: any; + error?: string }