ExportContext
Defined in: packages/core/src/export/registry.ts:56
Context handed to an exports-with-fallback construct’s export().
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
model? | MapModel | The whole document, for constructs whose lowering reads beyond their own value (fitTo reads the source it names). Optional: a lowering that needs it must keep the authored value and warn when it is missing. | packages/core/src/export/registry.ts:66 |
path | string | Dotted path of the node carrying it (for warning paths). | packages/core/src/export/registry.ts:60 |
value | unknown | The construct’s authored value. | packages/core/src/export/registry.ts:58 |