Skip to content

Commit

Permalink
Make preconstruct happy
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Mar 18, 2021
1 parent e4b7ab2 commit cc979cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/adapter-prisma/src/adapter-prisma.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// preconstruct(kinda rightfully) gets annoying if you have an import from a ts file
// to a non-ts file in the same package with no declarations so we need this

export const PrismaAdapter: any;
export const PrismaListAdapter: any;
export const PrismaFieldAdapter: any;
1 change: 0 additions & 1 deletion packages/adapter-prisma/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @ts-ignore
export { PrismaAdapter, PrismaListAdapter, PrismaFieldAdapter } from './adapter-prisma';
export { createMigration } from './migrations';
export type { CLIOptionsForCreateMigration } from './migrations';

0 comments on commit cc979cb

Please sign in to comment.