13 lines
426 B
TypeScript
13 lines
426 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { GrammarLesson } from './entities/grammar.entity';
|
|
import { GrammarController } from './grammar.controller';
|
|
import { GrammarService } from './grammar.service';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([GrammarLesson])],
|
|
controllers: [GrammarController],
|
|
providers: [GrammarService],
|
|
})
|
|
export class GrammarModule {}
|