From 4dbd150beb6f107ff9de9fe0512cb0f3c1b634bd Mon Sep 17 00:00:00 2001 From: Yoshiki Fujikane Date: Thu, 25 Jul 2024 17:47:54 +0900 Subject: [PATCH] Fix type for grpcWeb.Error to grpcweb.RpcError Signed-off-by: Yoshiki Fujikane --- web/src/api/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/api/client.ts b/web/src/api/client.ts index 88cfe71a71..d8474b0a87 100644 --- a/web/src/api/client.ts +++ b/web/src/api/client.ts @@ -7,7 +7,7 @@ export const apiClient = new WebServiceClient(apiEndpoint, null, { }); interface ApiCallback { - (err: grpcWeb.Error, response: { toObject: () => Res }): void; + (err: grpcWeb.RpcError, response: { toObject: () => Res }): void; } export async function apiRequest(