om/node_modules/mongoose/lib/options/removeOptions.js

14 lines
218 B
JavaScript
Raw Normal View History

'use strict';
const utils = require('../utils');
class RemoveOptions {
constructor(obj) {
if (obj == null) {
return;
}
Object.assign(this, utils.clone(obj));
}
}
module.exports = RemoveOptions;