saveOptions.js 217 B

1234567891011121314
  1. 'use strict';
  2. const clone = require('../helpers/clone');
  3. class SaveOptions {
  4. constructor(obj) {
  5. if (obj == null) {
  6. return;
  7. }
  8. Object.assign(this, clone(obj));
  9. }
  10. }
  11. module.exports = SaveOptions;