UNPKG

@typespec/http-server-js

Version:

TypeSpec HTTP server code generator for JavaScript

10 lines 315 B
import type { Enum } from "@typespec/compiler"; import { JsContext } from "../ctx.js"; /** * Emit an enum declaration. * * @param ctx - The emitter context. * @param enum_ - The enum to emit. */ export declare function emitEnum(ctx: JsContext, enum_: Enum): Iterable<string>; //# sourceMappingURL=enum.d.ts.map