Skip to content

[F] $service

function $service(ctx, target): void

Decorate an interface as a service, indicating that it represents a Protobuf service declaration.

Parameters

ParameterTypeDescription
ctxDecoratorContextdecorator context
targetInterfacethe decorated interface

Returns

void