Skip to content

Any plans for resolving JS function parameter types from .d.ts? #21454

@rnemec

Description

@rnemec

If somebody for various reasons needs to keep the code itself as plain ES6 javascript (in .JS files), but is using .d.ts files for VSCode assistance (which in indeed incredible!), would it be possible to derive the types of the function parameters not from the JSDoc @ param but from the .d.ts itself?

Right now, any other file, importing a module, can benefit from the type information in .d.ts - but the module itself cannot.

Is this something being cooked in the vscode secret labs, just not finished yet? Is there a roadmap item for this?

Thanks vscoders for the awesome tool!

Metadata

Metadata

Assignees

Labels

javascriptJavaScript support issuestypescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions