Skip to content

Intellisense not detecting array type #17140

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

Closed
mjbvz opened this issue Jul 12, 2017 · 3 comments
Closed

Intellisense not detecting array type #17140

mjbvz opened this issue Jul 12, 2017 · 3 comments
Labels
Fixed A PR has been merged for this issue VS Code Tracked There is a VS Code equivalent to this issue

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Jul 12, 2017

From @benjaminmillhouse on July 12, 2017 18:57

  • VSCode Version: 1.14.0

Steps to Reproduce:

  1. Add an array as a property of an object and document the @type
  2. View Intellisense for the property

screen shot 2017-07-12 at 2 44 36 pm

Reproduces without extensions: Yes

Copied from original issue: microsoft/vscode#30537

@mjbvz mjbvz self-assigned this Jul 12, 2017
@mjbvz mjbvz added VS Code Tracked There is a VS Code equivalent to this issue and removed new release labels Jul 12, 2017
@mjbvz mjbvz removed their assignment Jul 12, 2017
@mjbvz
Copy link
Contributor Author

mjbvz commented Jul 12, 2017

Tested on TS 2.4.1

Code sample:

const z = {
	/** @type {number[]} */
	x: []
}

z.

@ghost
Copy link

ghost commented Jul 12, 2017

I could reproduce this with [email protected] but not with typescript@next. Might be related to #16346? @rbuckton

@mhegazy
Copy link
Contributor

mhegazy commented Aug 29, 2017

should be working in latest.

@mhegazy mhegazy closed this as completed Aug 29, 2017
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Aug 29, 2017
@mhegazy mhegazy added this to the TypeScript 2.5 milestone Aug 29, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Fixed A PR has been merged for this issue VS Code Tracked There is a VS Code equivalent to this issue
Projects
None yet
Development

No branches or pull requests

2 participants