ehhh
TTCTheo's Typesafe Cult
•Created by ehhh on 4/28/2023 in #questions
Issues importing a class in the provider folder of AdonisJS while creating TypeScript definitions.
Could anyone help me with an issue I'm facing while building a database wrapper for Prisma in adonis? I am trying to create a typescript definition for it, but I'm unable to import the
Database
class from providers/DatabaseProvider/database.ts
. I've tried recreating the project multiple times, but the issue persists. Thank you smmmm
contracts/DatabaseProvider/database.ts
providers/DatabaseProvider/index.ts
providers/DatabaseProvider/database.ts
15 replies