10 lines
301 B
TypeScript
10 lines
301 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Question } from './entities/question.entity';
|
|
import { Choice } from './entities/choice.entity';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Question, Choice])],
|
|
})
|
|
export class QuestionsModule {}
|