packJson
On this page

packJson()

Function in Reflection

packModule already stringified, pretty-printed at two spaces, the form a build step writes to disk or embeds in a generated module.

import { packJson } from 'typeshade'

The signature, the description and the examples come from the compiler's own source at commit 26de7be8.

Syntax

function packJson(m: ModuleDecl): string

Parameters

m ModuleDecl

Return value

string

See also

Source

src/compiler/ts/pack.ts, line 52, at commit 26de7be8

Edit this page Report a problem