Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

no-dupe-args and no-redeclare false positives in 20.1.0 #535

Closed
@vkrol

Description

@vkrol

What version of TypeScript are you using?
3.1.4

What version of typescript-eslint-parser are you using?
20.1.0

What code were you trying to parse?

function foo({ bar }: { bar: string }) {
	console.log(bar);
}

What did you expect to happen?
No errors.

What happened?

  1:1   error  Duplicate param 'bar'         no-dupe-args
  1:25  error  'bar' is already defined      no-redeclare

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions