Skip to content

defineManifestDefaultsDocument

defineManifestDefaultsDocument<TDocument>(manifest): ManifestDefaultsDocument & TDocument

Defined in: wp-typia-block-runtime/src/defaults.ts:116

Wrapper helper for generated manifest-default modules.

Generated projects validate the raw JSON once at import time so validator tooling can consume the stricter defaults-oriented contract without local parse calls. JSON module inference widens nested discriminators like ts.kind, so the compile-time constraint stays shallow while the runtime parser enforces the full manifest-default contract.

TDocument extends object

TDocument

ManifestDefaultsDocument & TDocument