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

Property 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>' #341

@jeffarese

Description

@jeffarese

Is this a bug report?

Yes

Can you also reproduce the problem with npm 4.x?

Yes. I first tried with 5.6.0, then with 4.2.0, then with 6.2.0

Which terms did you search for in User Guide?

Initial build, Failed to compile

Environment

  1. npm ls react-scripts-ts (if you haven’t ejected): react-scripts-ts@2.16.0
  2. node -v: v8.10.0
  3. npm -v: 5.6.0
  4. yarn --version (if you use Yarn): 1.7.0
  5. npm ls react-scripts-ts (if you haven’t ejected): react-scripts-ts@2.16.0 (again)

Then, specify:

  1. Operating system:
  • Antergos

  • Kernel: x86_64 Linux 4.16.13-1-ARC

  1. Browser and version (if relevant):
    Chrome Version 68.0.3440.15 (Official Build) dev (64-bit), but it's not relevant.

Steps to Reproduce

(Write your steps here:)

  1. create-react-app project-name --scripts-version=react-scripts-ts
  2. cd project-name
  3. yarn start or npm run start

Expected Behavior

It should compile the app.

Actual Behavior

(2248,13): Subsequent property declarations must have the same type.  Property 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>'.nchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>'.

image

Reproducible Demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy