UNPKG

@thi.ng/transclude

Version:

Extensible functional template engine for text document generation, incl. various high-level Markdown features

6 lines 450 B
import type { SomeRequired } from "@thi.ng/api"; import type { TranscludeCtx } from "./api.js"; export type Mandatory = "src" | "templates" | "user"; export declare const transclude: <T>(ctx: SomeRequired<TranscludeCtx<T>, Mandatory>, path: string) => TranscludeCtx<T>; export declare const transcludeFile: <T>(path: string, ctx: SomeRequired<TranscludeCtx<T>, Exclude<Mandatory, "src">>) => TranscludeCtx<T>; //# sourceMappingURL=transclude.d.ts.map