octokit-next.js icon indicating copy to clipboard operation
octokit-next.js copied to clipboard

Deno compatibility

Open gr2m opened this issue 3 years ago • 0 comments

I spent some time on testing with Deno.

Things look good, I even added a smoke test: https://github.com/octokit/octokit-next.js/pull/83

However loading the type-only modules (@octokit-next/types*) is not working as expected.

First, there is a problem with https://esm.sh that I described at https://github.com/ije/esm.sh/issues/433. I found a workaround. But then I ran into a problem with Deno itself: it doesn't seem to parse the types of Type-only packages, unless I'm missing something: https://github.com/denoland/deno/issues/16239

It does work in the TypeScript playground and with node code edited in VS code. But Deno doesn't seem to be able to handle it at this point 🤷🏼

gr2m avatar Oct 10 '22 22:10 gr2m