UNPKG

@nestia/sdk

Version:

Nestia SDK and Swagger generator

10 lines (9 loc) 370 B
import { type Expression } from "@ttsc/factory"; /** * Recursive value-to-AST-literal builder. Hands back already-AST inputs * unchanged (so callers can mix factory output with raw JS values inside the * same object/array), and emits the appropriate literal node otherwise. */ export declare namespace LiteralFactory { const write: (input: any) => Expression; }