Docs@skmtc/core

Enrichments

VARIABLE

emptyEnrichmentSchema

@skmtc/core 0.63.4

The composite enrichment schema a generator with NO enrichments at any scope declares (toEnrichmentSchema: () => emptyEnrichmentSchema). Every member is v.undefined() - strict: a no-enrichment generator that somehow receives a value fails loud (fail-open at the call site) rather than silently swallowing it.

Signature

import { emptyEnrichmentSchema } from '@skmtc/core'

const emptyEnrichmentSchema: v.GenericSchema<Enrichments<undefined, undefined, undefined>>