Skip to content

Commit 379a807

Browse files
committed
style: fix lint
1 parent 4a84546 commit 379a807

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/schema/array.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,6 @@ const $type = require('./operators/type');
99
const MongooseError = require('../error/mongooseError');
1010
const SchemaType = require('../schematype');
1111
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-
};
2212
const Mixed = require('./mixed');
2313
const cast = require('../cast');
2414
const get = require('../helpers/get');

0 commit comments

Comments
 (0)