Skip to content

Commit f5cc5ff

Browse files
committed
refactor: update @nestjs/common imports to reference top level index.ts
1 parent cc02f0f commit f5cc5ff

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/interfaces/async-model-factory.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ModuleMetadata } from '@nestjs/common/interfaces';
1+
import { ModuleMetadata } from '@nestjs/common';
22
import { ModelDefinition } from './model-definition.interface';
33

44
export interface AsyncModelFactory

lib/interfaces/mongoose-options.interface.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { Type } from '@nestjs/common';
2-
import { ModuleMetadata } from '@nestjs/common/interfaces';
1+
import { ModuleMetadata, Type } from '@nestjs/common';
32
import { ConnectOptions } from 'mongoose';
43

54
export interface MongooseModuleOptions

0 commit comments

Comments
 (0)