libsql-js
libsql-js copied to clipboard
Export `/promise` types in package.json#exports
Following up on https://github.com/tursodatabase/libsql-js/pull/119, this PR proposes that we expose the newer /types/promise.d.ts file through the package.json#exports field, the same way the synchronous interface is exposed.
I'd love to see this merged. In deno, the types currently work for the synchronous API, but the /promise import is untyped. I would bet that this is the fix.
Argh, missed this PR and did https://github.com/tursodatabase/libsql-js/pull/149... Sorry about that @Sheraff!