@kubb/plugin-faker 5.0.9 → 5.0.10

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/dist/index.cjs CHANGED
@@ -1121,9 +1121,9 @@ const printerFaker = kubb_kit.ast.createPrinter((options) => {
1121
1121
  })) return `get ${objectKey(property.name)}() { const _value = ${value}; Object.defineProperty(this, ${JSON.stringify(property.name)}, { value: _value, configurable: true, writable: true, enumerable: true }); return _value }`;
1122
1122
  return `${objectKey(property.name)}: ${value}`;
1123
1123
  }));
1124
- },
1125
- ...options.nodes
1124
+ }
1126
1125
  },
1126
+ overrides: options.nodes,
1127
1127
  print(node) {
1128
1128
  return this.transform(node) ?? null;
1129
1129
  }