UNPKG

ts-proto

Version:

[![npm](https://img.shields.io/npm/v/ts-proto)](https://www.npmjs.com/package/ts-proto) [![build](https://github.com/stephenh/ts-proto/workflows/Build/badge.svg)](https://github.com/stephenh/ts-proto/actions)

9 lines (8 loc) 421 B
import { Code } from "ts-poet"; import { FileDescriptorProto, ServiceDescriptorProto } from "ts-proto-descriptors"; import { Context } from "./context"; import SourceInfo from "./sourceInfo"; /** * Generates server / client stubs for `nice-grpc` library. */ export declare function generateNiceGrpcService(ctx: Context, fileDesc: FileDescriptorProto, sourceInfo: SourceInfo, serviceDesc: ServiceDescriptorProto): Code;