Skip to content

Commit

Permalink
fix(externalToInternalDMMF.ts): import .js (#985)
Browse files Browse the repository at this point in the history
* fix(externalToInternalDMMF.ts): import `.js`

Related to prisma/prisma#22927

* Update src/lib/prisma-utils/externalToInternalDMMF.ts

---------

Co-authored-by: Rostislav Simonik <rostislav.simonik@technologystudio.sk>
  • Loading branch information
Jolg42 and rostislav-simonik authored Feb 17, 2024
1 parent 2bbfc7e commit 1dba723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/prisma-utils/externalToInternalDMMF.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @ts-expect-error Private api
import * as PrismaClientGenerator from '@prisma/client/generator-build'
import * as PrismaClientGenerator from '@prisma/client/generator-build/index.js'
import { DMMF, DMMF as ExternalDMMF } from '@prisma/generator-helper'

// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
Expand Down

0 comments on commit 1dba723

Please sign in to comment.