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

gettings console warnings from node_modules/unified/index.d.ts #250

Closed
4 tasks done
dimaMachina opened this issue Oct 2, 2024 · 5 comments
Closed
4 tasks done

gettings console warnings from node_modules/unified/index.d.ts #250

dimaMachina opened this issue Oct 2, 2024 · 5 comments
Labels
🤷 no/invalid This cannot be acted upon 👎 phase/no Post cannot or will not be acted on

Comments

@dimaMachina
Copy link

dimaMachina commented Oct 2, 2024

Initial checklist

Affected packages and versions

[email protected]

Link to runnable example

No response

Steps to reproduce

gettings warnings from index.d.ts

Expected behavior

clean terminal output

Actual behavior

nextra:dev: "Value" is imported from external module "vfile" but never used in "node_modules/unified/index.d.ts".
nextra:dev: "CompileResults" is imported from external module "./lib/index.js" but never used in "node_modules/unified/index.d.ts".

Affected runtime and version

[email protected]

Affected package manager and version

No response

Affected OS and version

No response

Build and bundle tools

No response

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Oct 2, 2024
@ChristianMurphy
Copy link
Member

Welcome @dimaMachina! 👋
That looks like a bug in Nextra not recognizing TypeScript doc comments, those values are used/needed for {@linkcode Value} and {@linkcode CompileResults} in that file.

@dimaMachina
Copy link
Author

yes, they are used in JSDoc comments but does typescript understand @linkcode?

@ChristianMurphy
Copy link
Member

ChristianMurphy commented Oct 2, 2024

Yes it does, and has for years, through the TS language server microsoft/vscode#57495

@dimaMachina
Copy link
Author

Ty, sorry for noise

This comment has been minimized.

@wooorm wooorm added the 🤷 no/invalid This cannot be acted upon label Oct 2, 2024
@github-actions github-actions bot added 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤷 no/invalid This cannot be acted upon 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

3 participants