Skip to content

Bad subsequent declaration error #20178

Closed

Description

The current declaration mismatch error looks like:

error TS2403: Subsequent variable declarations must have the same type.  Variable 'items' has type 'DataTransferItemList' at built/local/lib.d.ts 6521:13, but here has type 'DataTransferItem[]'.

The error was introduced by #19356. I do not think this is the correct solution here. the error as it stands is hard to read, and does not lend itself to navigation..

moreover, it makes our baselines very noisy.

I think the correct solution here is to do revert the changes in #19356 and look into
#10489 instead.

Activity

  1. ghost closed this as completedin #20206on Nov 29, 2017
  2. added
    Fixed
    on Nov 29, 2017
  3. locked and limited conversation to collaborators on Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFixed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions