chore(typescript/rest-nestjs): remove unused dependency
TLOWAC opened this issue · 0 comments
TLOWAC commented
Hi :)
I noticed an unused INestApplication
dependency in the typescript/rest-nestjs
example project.
I've removed the unused INestApplication import from the codebase.
If my contribution is helpful to you, that would be great!
import { Injectable, OnModuleInit, INestApplication } from '@nestjs/common' // `INestApplication` unused !
import { PrismaClient } from '@prisma/client'
@Injectable()
export class PrismaService extends PrismaClient implements OnModuleInit {
async onModuleInit() {
// Note: this is optional
await this.$connect()
}
}