i love inconsistency

This commit is contained in:
oat 2020-09-02 17:48:35 +03:00
parent 46f2168fe5
commit 1f933d27da
Signed by untrusted user who does not match committer: oat
GPG key ID: DD83A9617A252385

View file

@ -1,7 +1,7 @@
import * as mongoose from 'mongoose'; import * as mongoose from 'mongoose';
import { Int32 } from 'mongoose-int32';
const Schema = mongoose.Schema; const Schema = mongoose.Schema;
const Int32 = require('mongoose-int32');
const Sample = new Schema({ const Sample = new Schema({
start: {type: Int32, default: new Int32(0)}, start: {type: Int32, default: new Int32(0)},