From 1dff68d662a16567b2e4e6544814bee44aec5541 Mon Sep 17 00:00:00 2001 From: mernxl Date: Thu, 26 Jul 2018 20:17:28 +0100 Subject: [PATCH] fix(flow): fix flow typed errors, `SchemaState` use `import type` --- src/MongooseIdAssigner.js.flow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MongooseIdAssigner.js.flow b/src/MongooseIdAssigner.js.flow index ba259f0..f81289d 100644 --- a/src/MongooseIdAssigner.js.flow +++ b/src/MongooseIdAssigner.js.flow @@ -3,7 +3,7 @@ import EventEmitter from 'events'; import type { MongooseSchema, MongooseModel } from 'mongoose'; import type { AssignerOptions, FieldConfig } from './assigner.interfaces'; -import { SchemaState } from './LocalStateStore'; +import type { SchemaState } from './LocalStateStore'; export interface NormalisedOptions { modelName: string;