From 1f933d27da5942ebd9fcad1a08330e14537d8074 Mon Sep 17 00:00:00 2001 From: oat Date: Wed, 2 Sep 2020 17:48:35 +0300 Subject: [PATCH] i love inconsistency --- src/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schema.ts b/src/schema.ts index d49d34d..dda3b70 100644 --- a/src/schema.ts +++ b/src/schema.ts @@ -1,7 +1,7 @@ import * as mongoose from 'mongoose'; +import { Int32 } from 'mongoose-int32'; const Schema = mongoose.Schema; -const Int32 = require('mongoose-int32'); const Sample = new Schema({ start: {type: Int32, default: new Int32(0)},