UNPKG

haystack-codegen

Version:

Project Haystack Core code generation tools

17 lines (16 loc) 544 B
import { InterfaceNode } from './InterfaceNode'; import { InterfaceValueNode } from './InterfaceValueNode'; import { Node } from './Node'; /** * Generates a TypeScript namespace. */ export declare class NamespaceNode implements Node { readonly name: string; readonly intNode: InterfaceNode; readonly doc: string; readonly newLines = 2; constructor(name: string, intNode: InterfaceNode, doc: string); generateCode(out: (code: string) => void): void; get values(): InterfaceValueNode[]; get types(): string[]; }