-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Labels
VS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issueWorking as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Description
TypeScript Version: 2.5.2
From: microsoft/vscode#34107 (comment)
Code
For the JavaScript
/**
* @param {Object} x
*/
function foo(x) { } Hover over x.
Expected behavior:
Type of x is shown as Object
Actual behavior:
Type of x is shown as any
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
VS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issueWorking as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug