InternalOptions.js 391 B

12345678910111213141516171819
  1. class InternalOptions {
  2. constructor() {
  3. this.skipUndefined = false;
  4. this.keepImplicitJoinProps = false;
  5. this.debug = false;
  6. }
  7. clone() {
  8. const copy = new this.constructor();
  9. copy.skipUndefined = this.skipUndefined;
  10. copy.keepImplicitJoinProps = this.keepImplicitJoinProps;
  11. copy.debug = this.debug;
  12. return copy;
  13. }
  14. }
  15. module.exports = InternalOptions;