libsql-js icon indicating copy to clipboard operation
libsql-js copied to clipboard

Export `/promise` types in package.json#exports

Open Sheraff opened this issue 1 year ago • 1 comments

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.

Sheraff avatar Jun 29 '24 10:06 Sheraff

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.

noahbrenner avatar Sep 22 '24 03:09 noahbrenner

Argh, missed this PR and did https://github.com/tursodatabase/libsql-js/pull/149... Sorry about that @Sheraff!

penberg avatar Nov 06 '24 09:11 penberg