-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Use typescript namespace in JSDoc comments #20281
Comments
looks like a duplicate of #14377 |
yes, I do. Otherwise I would not be able to call |
@mhegazy: const browserify = require('browserify');
var b = browserify(); //definitions are shown in tooltips and autocomplete hints
/** @param {browserify.BrowserifyObject} bundler */
function compileJs(bundler) {
//bundler is reported as any...
} package.json: {
"devDependencies": {
"browserify": "^14.5.0"
}
} |
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed. |
From @Liero on November 22, 2017 15:5
When I install npm package, VS Code nicely shows typescript definitions in javascript file:
I would expect, that I will be able to use these definitions in JSDoc comments:
But the parameter type is still reported as any:
Copied from original issue: microsoft/vscode#38964
The text was updated successfully, but these errors were encountered: