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

Feature: Update // @deno-types="..." #184

Closed
Milly opened this issue Jun 2, 2024 · 1 comment · Fixed by #199
Closed

Feature: Update // @deno-types="..." #184

Milly opened this issue Jun 2, 2024 · 1 comment · Fixed by #199
Labels
enhancement New feature or request
Milestone

Comments

@Milly
Copy link
Contributor

Milly commented Jun 2, 2024

Feature request.
When using npm: packages, we may need to get types from @types/.... It would be nice to be able to update the package version in special comments like following:

// @deno-types="npm:@types/foo@1.2.3"
import { foo } from "npm:foo@1.3.9";

If this special comment is present, deno will write the package information into the deno.lock file just as if it were a package specified in a normal import statement.

@hasundue hasundue moved this to Todo in Deno Jun 3, 2024
@hasundue
Copy link
Owner

hasundue commented Jun 3, 2024

I've been overlooked that. Thanks for pointing it out.

@hasundue hasundue added the enhancement New feature or request label Jun 3, 2024
@hasundue hasundue added this to the 0.19.0 milestone Jun 3, 2024
@hasundue hasundue linked a pull request Jul 29, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from Todo to Done in Deno Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants