Skip to content

Commit

Permalink
Merge pull request #1117 from caucik/fix-imports
Browse files Browse the repository at this point in the history
refactor: update @nestjs/common imports to reference top level index.ts
  • Loading branch information
kamilmysliwiec authored Dec 20, 2021
2 parents 5094005 + f5cc5ff commit 8cd3192
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/interfaces/async-model-factory.interface.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ModuleMetadata } from '@nestjs/common/interfaces';
import { ModuleMetadata } from '@nestjs/common';
import { ModelDefinition } from './model-definition.interface';

export interface AsyncModelFactory
Expand Down
3 changes: 1 addition & 2 deletions lib/interfaces/mongoose-options.interface.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 8cd3192

Please sign in to comment.