UNPKG

@protobuf-ts/plugin

Version:

The protocol buffer compiler plugin "protobuf-ts" generates TypeScript, gRPC-web, Twirp, and more.

7 lines (6 loc) 216 B
import * as ts from "typescript"; /** * Provide a function statement as plain text, receive a * method declaration. */ export declare function typescriptMethodFromText(functionText: string): ts.MethodDeclaration;