Skip to content

Commit

Permalink
grpc: Make ServiceDefinition type argument optional
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Jul 21, 2021
1 parent 465f7a1 commit 913734d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-native-core/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ declare module "grpc" {
/**
* An object that completely defines a service.
*/
export type ServiceDefinition<ImplementationType> = {
export type ServiceDefinition<ImplementationType = UntypedServiceImplementation> = {
readonly [I in keyof ImplementationType]: MethodDefinition<any, any>;
}

Expand Down

0 comments on commit 913734d

Please sign in to comment.