Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

no-shadowed-variable false positive #650

Closed
@Fraegle

Description

When defining a polymorphic interface such as

interface EdgeCall<T, TResult> {
    (parameters: T, runSynchonous: boolean): TResult;
    (parameters: T, callback: (error: Error, result: TResult) => void): void;
}

(this interface wasn't my idea)
The second occurrence of parameters is wrongly detected by the rule.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions