From e36f3dbff47b7a75718e73e180739ec2facb41d3 Mon Sep 17 00:00:00 2001 From: foyarash <11079152+foyarash@users.noreply.github.com> Date: Wed, 6 Sep 2023 18:49:35 +0200 Subject: [PATCH] Fix types --- src/adapters/prisma/index.ts | 1 + src/adapters/prisma/jsonSchemaParser.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/adapters/prisma/index.ts b/src/adapters/prisma/index.ts index 2f63a30..ee23288 100644 --- a/src/adapters/prisma/index.ts +++ b/src/adapters/prisma/index.ts @@ -1,3 +1,4 @@ +// @ts-ignore import { PrismaClient, Prisma } from '@prisma/client' import pluralize from 'pluralize' import HttpError from '../../httpError' diff --git a/src/adapters/prisma/jsonSchemaParser.ts b/src/adapters/prisma/jsonSchemaParser.ts index 3a2b25e..e5299ba 100644 --- a/src/adapters/prisma/jsonSchemaParser.ts +++ b/src/adapters/prisma/jsonSchemaParser.ts @@ -1,3 +1,4 @@ +// @ts-ignore import { PrismaClient, Prisma } from '@prisma/client' import { transformDMMF } from 'prisma-json-schema-generator/dist/generator/transformDMMF' import { getJSONSchemaProperty } from 'prisma-json-schema-generator/dist/generator/properties'