ts: declare MethodType

This commit is contained in:
Warren He 2021-01-22 11:54:01 -08:00 committed by Stanley Cheung
parent c5bd9f7061
commit b63099d977
1 changed files with 5 additions and 0 deletions

View File

@ -144,4 +144,9 @@ declare module "grpc-web" {
const UNIMPLEMENTED: number;
const UNKNOWN: number;
}
export namespace MethodType {
const UNARY: string;
const SERVER_STREAMING: string;
}
}