Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 9x | /**
* @constant
*
* The configuration surface, held for the lifetime of the module.
*
* @remarks
* Internal and mutable. {@link configure} writes it, {@link resolve} reads it,
* and nothing else touches it — it is not re-exported from the package barrel.
*
* Module state, so there is one per loaded copy of this package. A bundler that
* inlines a second copy therefore breaks configuration; see the diagnostic in
* {@link resolve}.
*
* @internal
*
* @author Bayu Dwiyan Satria
* @version 1.0.0
* @since 1.0.0
*/
export const ConfigurationRegistry: {
/**
* Every module's settings before any override applies.
*/
defaults: Record<string, unknown>
/**
* Per-module partial overrides, applied field by field over the defaults.
*/
overrides: Record<string, unknown>
} = {
defaults: {},
overrides: {}
}
|