Skip to content

TypeScript 3.9 compilation fails #243

Description

@whymarrh

Compilation with the latest 3.9 version results in the following errors:

src/user/PreferencesController.ts:186:5 - error TS2783: 'address' is specified more than once, so this usage will be overwritten.
186 address,
~~~~~~~
src/user/PreferencesController.ts:188:5
188 ...(oldIdentities[address] || {})
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This spread always overwrites this property.
src/user/PreferencesController.ts:187:5 - error TS2783: 'name' is specified more than once, so this usage will be overwritten.
187 name: `Account ${index + 1}`,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/user/PreferencesController.ts:188:5
188 ...(oldIdentities[address] || {})
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This spread always overwrites this property.
Found 2 errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions