Error when building due to missing acquireMigrationLock() in dialog · Issue #30 · aidenwallis/kysely-d1 · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/db/client.ts:14:14 - error ts(2352): Conversion of type 'D1Dialect' to type 'Dialect' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
The types of 'createAdapter().acquireMigrationLock' are incompatible between these types.
14 dialect: new D1Dialect({ database: d1DB }) as Dialect,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
src/db/client.ts:14:14 - error ts(2352): Conversion of type 'D1Dialect' to type 'Dialect' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
The types of 'createAdapter().acquireMigrationLock' are incompatible between these types.
14 dialect: new D1Dialect({ database: d1DB }) as Dialect,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: