Unable to interop export * from "edgedb/dist/reflection/index.js" in ...Monorepo/dbschema/edgeql-js/reflection.mts, this may lose module exports. Please export "edgedb/dist/reflection/index.js" as ESM or use named exports instead, e.g. export { A, B } from "edgedb/dist/reflection/index.js"
Removing import { type AppRouter } from "@repo/api-hono" and the type next to hc removes the error, but then I lose all types for my API calls.
Edgedb types are generated with bunx @edgedb/generate edgeql-js --target esm (I tried mts too, same error)
Inside the browser, the following error appear:
TypeError: $.StrictMap is not a constructor`