Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property 'Command' does not exist on type 'typeof Deno' #434

Open
hallvors opened this issue Oct 22, 2024 · 1 comment
Open

Property 'Command' does not exist on type 'typeof Deno' #434

hallvors opened this issue Oct 22, 2024 · 1 comment

Comments

@hallvors
Copy link

Using Deno 2, where Deno.run() per the docs 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.

@barrysimpson
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants