12 lines
330 B
TypeScript
12 lines
330 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { UsersService } from './users.service';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { User } from './entities/user.entity';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([User])],
|
|
providers: [UsersService],
|
|
exports: [UsersService],
|
|
})
|
|
export class UsersModule {}
|