Skip to content

Commit 913734d

Browse files
committed
grpc: Make ServiceDefinition type argument optional
1 parent 465f7a1 commit 913734d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-native-core/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ declare module "grpc" {
312312
/**
313313
* An object that completely defines a service.
314314
*/
315-
export type ServiceDefinition<ImplementationType> = {
315+
export type ServiceDefinition<ImplementationType = UntypedServiceImplementation> = {
316316
readonly [I in keyof ImplementationType]: MethodDefinition<any, any>;
317317
}
318318

0 commit comments

Comments
 (0)