@json-layout/core 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/compile/options.js +1 -1
package/package.json
CHANGED
package/src/compile/options.js
CHANGED
|
@@ -74,7 +74,7 @@ export const fillOptions = (partialOptions) => {
|
|
|
74
74
|
// use Immer for efficient updating with immutability and no-op detection
|
|
75
75
|
/** @type {(draft: PartialCompileOptions, newOptions: PartialCompileOptions) => PartialCompileOptions} */
|
|
76
76
|
export const produceCompileOptions = produce((draft, newOptions) => {
|
|
77
|
-
for (const key of ['ajv', 'ajvOptions', 'code', 'markdown', 'markedOptions', 'xI18n', 'locale', 'defaultLocale', 'messages', 'optionsKeys', 'components']) {
|
|
77
|
+
for (const key of ['ajv', 'ajvOptions', 'code', 'markdown', 'markedOptions', 'xI18n', 'locale', 'defaultLocale', 'messages', 'optionsKeys', 'components', 'useDescription']) {
|
|
78
78
|
// @ts-ignore
|
|
79
79
|
if (key in newOptions) {
|
|
80
80
|
// components is problematic because it is an object with nested objects
|