UNPKG

@protobuf-ts/plugin-framework

Version:
11 lines (10 loc) 332 B
import * as ts from "typescript"; /** * Creates an enum declaration. */ export declare class TypescriptEnumBuilder { private readonly values; add(name: string, number: number, comment?: string): void; build(name: string | ts.Identifier, modifiers?: readonly ts.Modifier[]): ts.EnumDeclaration; private validate; }