Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/engine/manifest/manifestBuilder.ts>ManifestBuilder

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
interface ManifestBuilder
import { type ManifestBuilder } from "https://deno.land/x/live@1.56.0/engine/manifest/manifestBuilder.ts";

Type Parameters

optional
TManifest extends AppManifest = AppManifest

Properties

mergeWith: (def: TManifest[]) => ManifestBuilder
equal: (other: ManifestBuilder) => boolean
toJSONString: () => string
addImports: (...imports: Import[]) => ManifestBuilder
addManifestValues: (...vals: [string, JSONValue][]) => ManifestBuilder
addValuesOnManifestKey: (key: string, ...vals: [string, JSONValue][]) => ManifestBuilder
addExports: (...exports: Export[]) => ManifestBuilder
addExportDefault: (dfs: ExportDefault) => ManifestBuilder
addStatements: (...statements: Statement[]) => ManifestBuilder

Methods

build(): string