Skip to content

Building backend throws "Subsequent property declarations must have the same type" error #77

Closed
@trivikr

Description

@trivikr

Describe the bug

The command yarn build:backend throws "Subsequent property declarations must have the same type" error

Steps to reproduce

Run yarn build:backend

Observed behavior

Following error is thrown:

../../node_modules/@types/react/index.d.ts:3317:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'tspan' must be of type 'SVGProps<SVGTSpanElement>', but here has type 'SVGProps<SVGTSpanElement>'.

3317             tspan: React.SVGProps<SVGTSpanElement>;
                 ~~~~~

  ../../node_modules/@types/reach__router/node_modules/@types/react/index.d.ts:3167:13
    3167             tspan: React.SVGProps<SVGTSpanElement>;
                     ~~~~~
    'tspan' was also declared here.

Expected behavior

Build for backend successful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions