Skip to content

No-implicit-any checks do not work with destructuring assignment #6935

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
falsandtru opened this issue Feb 6, 2016 · 1 comment
Closed
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@falsandtru
Copy link
Contributor

function f([a], {b}) { // should be an error
}
@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Feb 6, 2016
@mhegazy mhegazy added this to the TypeScript 2.0 milestone Feb 24, 2016
@use-strict
Copy link

Same problem here. Quite annoying because it's silently leaking "any"-s and developers don't notice it in order to manually add a type annotation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

6 participants