Skip to content

Commit 13eec19

Browse files
committed
set NestModule to type
1 parent 06c4b8b commit 13eec19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mikro-orm-core.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import {
66
RequestMethod,
77
type DynamicModule,
88
type MiddlewareConsumer,
9+
type NestModule,
910
type OnApplicationShutdown,
1011
type Type,
11-
NestModule,
1212
} from '@nestjs/common';
1313
import { ModuleRef } from '@nestjs/core';
1414

src/mikro-orm-middleware.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Global, Inject, Module, RequestMethod, type MiddlewareConsumer, NestModule } from '@nestjs/common';
1+
import { Global, Inject, Module, RequestMethod, type MiddlewareConsumer, type NestModule } from '@nestjs/common';
22

33
import type { MikroORM } from '@mikro-orm/core';
44
import { forRoutesPath } from './middleware.helper';

0 commit comments

Comments
 (0)