From f5cc5fff87080b96a542a7c13a869c813d3682d4 Mon Sep 17 00:00:00 2001 From: caucik Date: Tue, 16 Nov 2021 09:45:55 +0100 Subject: [PATCH] refactor: update @nestjs/common imports to reference top level index.ts --- lib/interfaces/async-model-factory.interface.ts | 2 +- lib/interfaces/mongoose-options.interface.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/interfaces/async-model-factory.interface.ts b/lib/interfaces/async-model-factory.interface.ts index bac2eb85..ea913986 100644 --- a/lib/interfaces/async-model-factory.interface.ts +++ b/lib/interfaces/async-model-factory.interface.ts @@ -1,4 +1,4 @@ -import { ModuleMetadata } from '@nestjs/common/interfaces'; +import { ModuleMetadata } from '@nestjs/common'; import { ModelDefinition } from './model-definition.interface'; export interface AsyncModelFactory diff --git a/lib/interfaces/mongoose-options.interface.ts b/lib/interfaces/mongoose-options.interface.ts index dc9c553a..77c0a485 100644 --- a/lib/interfaces/mongoose-options.interface.ts +++ b/lib/interfaces/mongoose-options.interface.ts @@ -1,5 +1,4 @@ -import { Type } from '@nestjs/common'; -import { ModuleMetadata } from '@nestjs/common/interfaces'; +import { ModuleMetadata, Type } from '@nestjs/common'; import { ConnectOptions } from 'mongoose'; export interface MongooseModuleOptions