Property 'Command' does not exist on type 'typeof Deno'
Open
- Dominant language
- Rust
- Stars
- 1.3k
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
Using Deno 2, where `Deno.run()` per the [docs](https://docs.deno.com/api/deno/~/Deno.Command) is replaced with `Deno.Command()`. It seems the shim is not updated to match this change yet, since when I try to build a Node module using dnt, I get this error during the type checking phase:
> error TS2339: Property 'Command' does not exist on type 'typeof Deno'.
>
> 51 const cmd = new dntShim.Deno.Command("xmllint", {
It would be great to be able to use dnt, it seems like a tool with great potential. Thanks in advance for any fixes.
Contributor guide
Assessment
This issue has not been assessed yet.