We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a84546 commit 379a807Copy full SHA for 379a807
lib/schema/array.js
@@ -9,16 +9,6 @@ const $type = require('./operators/type');
9
const MongooseError = require('../error/mongooseError');
10
const SchemaType = require('../schematype');
11
const CastError = SchemaType.CastError;
12
-const Types = {
13
- Array: SchemaArray,
14
- Boolean: require('./boolean'),
15
- Date: require('./date'),
16
- Number: require('./number'),
17
- String: require('./string'),
18
- ObjectId: require('./objectid'),
19
- Buffer: require('./buffer'),
20
- Map: require('./map')
21
-};
22
const Mixed = require('./mixed');
23
const cast = require('../cast');
24
const get = require('../helpers/get');
0 commit comments