UNPKG

@nestia/sdk

Version:

Nestia SDK and Swagger generator

15 lines (14 loc) 531 B
import { type Expression, type TypeNode, type VariableStatement } from "@ttsc/factory"; /** Variable-statement helpers. `constant` emits `const`, `mut` emits `let`. */ export declare namespace StatementFactory { const mut: (props: { name: string; type?: TypeNode | undefined; initializer?: Expression | undefined; }) => VariableStatement; const constant: (props: { name: string; type?: TypeNode | undefined; value?: Expression | undefined; }) => VariableStatement; }