Closed trixobird closed 10 months ago
Hi @trixobird. The issue is fixed in 0.2.1 release of the extension. Could you update and check that fixed worked out for you?
It did fix the issue, but now I am gettings type issues.
on import { readReplicas } from '@prisma/extension-read-replicas'
and it does not go away even when I add a declaration file.
TS7016: Could not find a declaration file for module @prisma/extension-read-replicas .
/Users/trixobird/w/testing/read-replicas-demo/node_modules/@prisma/extension-read-replicas/dist/index.js
implicitly has an any type.
Try
npm i --save-dev @types/prisma__extension-read-replicas
if it exists or add a new declaration (.d.ts) file containing
declare module '@prisma/extension-read-replicas'
@trixobird Thank you! That problem should be fixed in 0.2.2
It seems that is not working in esm mode. I managed to re-create it in
https://github.com/prisma/read-replicas-demo
with the following patch.Subject: [PATCH] Error when esm