Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(@aws-amplify/ui-react): react port of @aws-amplify/ui-components #4340

Conversation

ericclemmons
Copy link
Contributor

@ericclemmons ericclemmons commented Nov 5, 2019

I was able to get the correct monorepo structure to support it, but there are hundreds TypeScript errors preventing a successful run of:

yarn workspace @aws-amplify/ui-react build

For implementation, I borrowed from:

There are a couple blockers I ran into:

  • context-consumer isn't exported into components.ts, likely because it's an internal component: https://github.com/ionic-team/stencil-state-tunnel/wiki/Getting-started
  • @aws-components/ui-components/loader isn't a valid path, because we publish /dist (per Stencil's examples), so the correct path would be @aws-components/ui-components/dist/loader.
  • Possibly due to path issues or the newness of the bindings project (at least in open-source), TypeScript errors are too numerous to debug:
❯ yarn workspace @aws-amplify/ui-react build
yarn workspace v1.19.1
yarn run v1.19.1
$ npm run clean && npm run compile
npm WARN lifecycle The node binary used for scripts is /var/folders/_t/t2bpb1ls3f52ctt_xj7w3jmsbb89fs/T/yarn--1572913500340-0.12699769814849216/node but npm is using /usr/local/Cellar/node/12.12.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> @aws-amplify/ui-react@0.0.1 clean /Users/ecclemm/Projects/ericclemmons/amplify-js/packages/amplify-ui-react
> rm -rf dist

npm WARN lifecycle The node binary used for scripts is /var/folders/_t/t2bpb1ls3f52ctt_xj7w3jmsbb89fs/T/yarn--1572913500340-0.12699769814849216/node but npm is using /usr/local/Cellar/node/12.12.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> @aws-amplify/ui-react@0.0.1 compile /Users/ecclemm/Projects/ericclemmons/amplify-js/packages/amplify-ui-react
> npm run tsc

npm WARN lifecycle The node binary used for scripts is /var/folders/_t/t2bpb1ls3f52ctt_xj7w3jmsbb89fs/T/yarn--1572913500340-0.12699769814849216/node but npm is using /usr/local/Cellar/node/12.12.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> @aws-amplify/ui-react@0.0.1 tsc /Users/ecclemm/Projects/ericclemmons/amplify-js/packages/amplify-ui-react
> tsc -p .

node_modules/@aws-amplify/ui-components/dist/types/components.d.ts:474:22 - error TS7051: Parameter has a name but no type. Did you mean 'arg0: Event'?

474     'handleSubmit': (Event) => void;
                         ~~~~~

node_modules/@aws-amplify/ui-components/dist/types/components.d.ts:1224:23 - error TS7051: Parameter has a name but no type. Did you mean 'arg0: Event'?

1224     'handleSubmit'?: (Event) => void;
                           ~~~~~

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2820:14 - error TS2300: Duplicate identifier 'LibraryManagedAttributes'.

2820         type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
                  ~~~~~~~~~~~~~~~~~~~~~~~~

  node_modules/@types/react/index.d.ts:2847:14
    2847         type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
                      ~~~~~~~~~~~~~~~~~~~~~~~~
    'LibraryManagedAttributes' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2833:13 - error TS2717: 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>'.

2833             a: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
                 ~

  node_modules/@types/react/index.d.ts:2860:13
    2860             a: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>;
                     ~
    'a' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2834:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'abbr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2834             abbr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2861:13
    2861             abbr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~
    'abbr' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2835:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'address' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2835             address: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:2862:13
    2862             address: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~
    'address' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2836:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'area' must be of type 'DetailedHTMLProps<AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>', but here has type 'DetailedHTMLProps<AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>'.

2836             area: React.DetailedHTMLProps<React.AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2863:13
    2863             area: React.DetailedHTMLProps<React.AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>;
                     ~~~~
    'area' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2837:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'article' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2837             article: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:2864:13
    2864             article: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~
    'article' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2838:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'aside' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2838             aside: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2865:13
    2865             aside: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~
    'aside' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2839:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'audio' must be of type 'DetailedHTMLProps<AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>', but here has type 'DetailedHTMLProps<AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>'.

2839             audio: React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2866:13
    2866             audio: React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>;
                     ~~~~~
    'audio' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2840:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'b' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2840             b: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~

  node_modules/@types/react/index.d.ts:2867:13
    2867             b: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~
    'b' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2841:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'base' must be of type 'DetailedHTMLProps<BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>', but here has type 'DetailedHTMLProps<BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>'.

2841             base: React.DetailedHTMLProps<React.BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2868:13
    2868             base: React.DetailedHTMLProps<React.BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>;
                     ~~~~
    'base' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2842:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'bdi' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2842             bdi: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2869:13
    2869             bdi: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~
    'bdi' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2843:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'bdo' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2843             bdo: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2870:13
    2870             bdo: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~
    'bdo' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2844:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'big' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2844             big: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2871:13
    2871             big: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~
    'big' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2845:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'blockquote' must be of type 'DetailedHTMLProps<BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>'.

2845             blockquote: React.DetailedHTMLProps<React.BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~~~~

  node_modules/@types/react/index.d.ts:2872:13
    2872             blockquote: React.DetailedHTMLProps<React.BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~~~~
    'blockquote' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2846:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'body' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>'.

2846             body: React.DetailedHTMLProps<React.HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2873:13
    2873             body: React.DetailedHTMLProps<React.HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>;
                     ~~~~
    'body' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2847:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'br' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLBRElement>, HTMLBRElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLBRElement>, HTMLBRElement>'.

2847             br: React.DetailedHTMLProps<React.HTMLAttributes<HTMLBRElement>, HTMLBRElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2874:13
    2874             br: React.DetailedHTMLProps<React.HTMLAttributes<HTMLBRElement>, HTMLBRElement>;
                     ~~
    'br' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2848:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'button' must be of type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>', but here has type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>'.

2848             button: React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2875:13
    2875             button: React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
                     ~~~~~~
    'button' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2849:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'canvas' must be of type 'DetailedHTMLProps<CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>', but here has type 'DetailedHTMLProps<CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>'.

2849             canvas: React.DetailedHTMLProps<React.CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2876:13
    2876             canvas: React.DetailedHTMLProps<React.CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>;
                     ~~~~~~
    'canvas' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2850:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'caption' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2850             caption: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:2877:13
    2877             caption: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~
    'caption' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2851:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'cite' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2851             cite: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2878:13
    2878             cite: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~
    'cite' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2852:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'code' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2852             code: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2879:13
    2879             code: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~
    'code' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2853:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'col' must be of type 'DetailedHTMLProps<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>', but here has type 'DetailedHTMLProps<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>'.

2853             col: React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2880:13
    2880             col: React.DetailedHTMLProps<React.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
                     ~~~
    'col' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2854:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'colgroup' must be of type 'DetailedHTMLProps<ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>', but here has type 'DetailedHTMLProps<ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>'.

2854             colgroup: React.DetailedHTMLProps<React.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
                 ~~~~~~~~

  node_modules/@types/react/index.d.ts:2881:13
    2881             colgroup: React.DetailedHTMLProps<React.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>;
                     ~~~~~~~~
    'colgroup' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2855:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'data' must be of type 'DetailedHTMLProps<DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>', but here has type 'DetailedHTMLProps<DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>'.

2855             data: React.DetailedHTMLProps<React.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2882:13
    2882             data: React.DetailedHTMLProps<React.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>;
                     ~~~~
    'data' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2856:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'datalist' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>'.

2856             datalist: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>;
                 ~~~~~~~~

  node_modules/@types/react/index.d.ts:2883:13
    2883             datalist: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>;
                     ~~~~~~~~
    'datalist' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2857:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'dd' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2857             dd: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2884:13
    2884             dd: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~
    'dd' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2858:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'del' must be of type 'DetailedHTMLProps<DelHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<DelHTMLAttributes<HTMLElement>, HTMLElement>'.

2858             del: React.DetailedHTMLProps<React.DelHTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2885:13
    2885             del: React.DetailedHTMLProps<React.DelHTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~
    'del' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2859:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'details' must be of type 'DetailedHTMLProps<DetailsHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<DetailsHTMLAttributes<HTMLElement>, HTMLElement>'.

2859             details: React.DetailedHTMLProps<React.DetailsHTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:2886:13
    2886             details: React.DetailedHTMLProps<React.DetailsHTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~
    'details' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2860:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'dfn' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2860             dfn: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2887:13
    2887             dfn: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~
    'dfn' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2861:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'dialog' must be of type 'DetailedHTMLProps<DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>', but here has type 'DetailedHTMLProps<DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>'.

2861             dialog: React.DetailedHTMLProps<React.DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2888:13
    2888             dialog: React.DetailedHTMLProps<React.DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>;
                     ~~~~~~
    'dialog' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2862:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'div' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.

2862             div: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2889:13
    2889             div: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
                     ~~~
    'div' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2863:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'dl' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDListElement>, HTMLDListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDListElement>, HTMLDListElement>'.

2863             dl: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDListElement>, HTMLDListElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2890:13
    2890             dl: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDListElement>, HTMLDListElement>;
                     ~~
    'dl' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2864:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'dt' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2864             dt: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2891:13
    2891             dt: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~
    'dt' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2865:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'em' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2865             em: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2892:13
    2892             em: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~
    'em' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2866:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'embed' must be of type 'DetailedHTMLProps<EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>', but here has type 'DetailedHTMLProps<EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>'.

2866             embed: React.DetailedHTMLProps<React.EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2893:13
    2893             embed: React.DetailedHTMLProps<React.EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>;
                     ~~~~~
    'embed' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2867:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'fieldset' must be of type 'DetailedHTMLProps<FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>', but here has type 'DetailedHTMLProps<FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>'.

2867             fieldset: React.DetailedHTMLProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>;
                 ~~~~~~~~

  node_modules/@types/react/index.d.ts:2894:13
    2894             fieldset: React.DetailedHTMLProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>;
                     ~~~~~~~~
    'fieldset' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2868:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'figcaption' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2868             figcaption: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~~~~

  node_modules/@types/react/index.d.ts:2895:13
    2895             figcaption: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~~~~
    'figcaption' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2869:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'figure' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2869             figure: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2896:13
    2896             figure: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~
    'figure' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2870:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'footer' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2870             footer: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2897:13
    2897             footer: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~
    'footer' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2871:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'form' must be of type 'DetailedHTMLProps<FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>', but here has type 'DetailedHTMLProps<FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>'.

2871             form: React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2898:13
    2898             form: React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>;
                     ~~~~
    'form' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2872:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'h1' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

2872             h1: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2899:13
    2899             h1: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                     ~~
    'h1' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2873:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'h2' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

2873             h2: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2900:13
    2900             h2: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                     ~~
    'h2' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2874:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'h3' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

2874             h3: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2901:13
    2901             h3: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                     ~~
    'h3' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2875:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'h4' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

2875             h4: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2902:13
    2902             h4: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                     ~~
    'h4' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2876:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'h5' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

2876             h5: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2903:13
    2903             h5: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                     ~~
    'h5' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2877:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'h6' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

2877             h6: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2904:13
    2904             h6: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
                     ~~
    'h6' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2878:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'head' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>'.

2878             head: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2905:13
    2905             head: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>;
                     ~~~~
    'head' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2879:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'header' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2879             header: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2906:13
    2906             header: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~
    'header' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2880:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'hgroup' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2880             hgroup: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2907:13
    2907             hgroup: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~
    'hgroup' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2881:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'hr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHRElement>, HTMLHRElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHRElement>, HTMLHRElement>'.

2881             hr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2908:13
    2908             hr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>;
                     ~~
    'hr' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2882:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'html' must be of type 'DetailedHTMLProps<HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>', but here has type 'DetailedHTMLProps<HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>'.

2882             html: React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2909:13
    2909             html: React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>;
                     ~~~~
    'html' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2883:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'i' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2883             i: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~

  node_modules/@types/react/index.d.ts:2910:13
    2910             i: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~
    'i' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2884:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'iframe' must be of type 'DetailedHTMLProps<IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>', but here has type 'DetailedHTMLProps<IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>'.

2884             iframe: React.DetailedHTMLProps<React.IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2911:13
    2911             iframe: React.DetailedHTMLProps<React.IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>;
                     ~~~~~~
    'iframe' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2885:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'img' must be of type 'DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>', but here has type 'DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>'.

2885             img: React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2912:13
    2912             img: React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
                     ~~~
    'img' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2886:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'input' must be of type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>', but here has type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>'.

2886             input: React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2913:13
    2913             input: React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
                     ~~~~~
    'input' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2887:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'ins' must be of type 'DetailedHTMLProps<InsHTMLAttributes<HTMLModElement>, HTMLModElement>', but here has type 'DetailedHTMLProps<InsHTMLAttributes<HTMLModElement>, HTMLModElement>'.

2887             ins: React.DetailedHTMLProps<React.InsHTMLAttributes<HTMLModElement>, HTMLModElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2914:13
    2914             ins: React.DetailedHTMLProps<React.InsHTMLAttributes<HTMLModElement>, HTMLModElement>;
                     ~~~
    'ins' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2888:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'kbd' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2888             kbd: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2915:13
    2915             kbd: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~
    'kbd' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2889:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'keygen' must be of type 'DetailedHTMLProps<KeygenHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<KeygenHTMLAttributes<HTMLElement>, HTMLElement>'.

2889             keygen: React.DetailedHTMLProps<React.KeygenHTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2916:13
    2916             keygen: React.DetailedHTMLProps<React.KeygenHTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~
    'keygen' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2890:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'label' must be of type 'DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>', but here has type 'DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>'.

2890             label: React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2917:13
    2917             label: React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>;
                     ~~~~~
    'label' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2891:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'legend' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>'.

2891             legend: React.DetailedHTMLProps<React.HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2918:13
    2918             legend: React.DetailedHTMLProps<React.HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>;
                     ~~~~~~
    'legend' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2892:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'li' must be of type 'DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>', but here has type 'DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>'.

2892             li: React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2919:13
    2919             li: React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>;
                     ~~
    'li' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2893:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'link' must be of type 'DetailedHTMLProps<LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>', but here has type 'DetailedHTMLProps<LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>'.

2893             link: React.DetailedHTMLProps<React.LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2920:13
    2920             link: React.DetailedHTMLProps<React.LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>;
                     ~~~~
    'link' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2894:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'main' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2894             main: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2921:13
    2921             main: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~
    'main' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2895:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'map' must be of type 'DetailedHTMLProps<MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>', but here has type 'DetailedHTMLProps<MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>'.

2895             map: React.DetailedHTMLProps<React.MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2922:13
    2922             map: React.DetailedHTMLProps<React.MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>;
                     ~~~
    'map' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2896:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'mark' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2896             mark: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2923:13
    2923             mark: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~
    'mark' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2897:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'menu' must be of type 'DetailedHTMLProps<MenuHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<MenuHTMLAttributes<HTMLElement>, HTMLElement>'.

2897             menu: React.DetailedHTMLProps<React.MenuHTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2924:13
    2924             menu: React.DetailedHTMLProps<React.MenuHTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~
    'menu' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2898:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'menuitem' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2898             menuitem: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~~

  node_modules/@types/react/index.d.ts:2925:13
    2925             menuitem: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~~
    'menuitem' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2899:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'meta' must be of type 'DetailedHTMLProps<MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>', but here has type 'DetailedHTMLProps<MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>'.

2899             meta: React.DetailedHTMLProps<React.MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2926:13
    2926             meta: React.DetailedHTMLProps<React.MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>;
                     ~~~~
    'meta' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2900:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'meter' must be of type 'DetailedHTMLProps<MeterHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<MeterHTMLAttributes<HTMLElement>, HTMLElement>'.

2900             meter: React.DetailedHTMLProps<React.MeterHTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2927:13
    2927             meter: React.DetailedHTMLProps<React.MeterHTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~
    'meter' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2901:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'nav' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2901             nav: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2928:13
    2928             nav: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~
    'nav' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2902:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'noindex' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2902             noindex: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:2929:13
    2929             noindex: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~
    'noindex' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2903:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'noscript' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2903             noscript: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~~

  node_modules/@types/react/index.d.ts:2930:13
    2930             noscript: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~~
    'noscript' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2904:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'object' must be of type 'DetailedHTMLProps<ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>', but here has type 'DetailedHTMLProps<ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>'.

2904             object: React.DetailedHTMLProps<React.ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2931:13
    2931             object: React.DetailedHTMLProps<React.ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>;
                     ~~~~~~
    'object' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2905:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'ol' must be of type 'DetailedHTMLProps<OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>', but here has type 'DetailedHTMLProps<OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>'.

2905             ol: React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2932:13
    2932             ol: React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>;
                     ~~
    'ol' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2906:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'optgroup' must be of type 'DetailedHTMLProps<OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>', but here has type 'DetailedHTMLProps<OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>'.

2906             optgroup: React.DetailedHTMLProps<React.OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>;
                 ~~~~~~~~

  node_modules/@types/react/index.d.ts:2933:13
    2933             optgroup: React.DetailedHTMLProps<React.OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>;
                     ~~~~~~~~
    'optgroup' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2907:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'option' must be of type 'DetailedHTMLProps<OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>', but here has type 'DetailedHTMLProps<OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>'.

2907             option: React.DetailedHTMLProps<React.OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2934:13
    2934             option: React.DetailedHTMLProps<React.OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>;
                     ~~~~~~
    'option' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2908:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'output' must be of type 'DetailedHTMLProps<OutputHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<OutputHTMLAttributes<HTMLElement>, HTMLElement>'.

2908             output: React.DetailedHTMLProps<React.OutputHTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2935:13
    2935             output: React.DetailedHTMLProps<React.OutputHTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~
    'output' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2909:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'p' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>'.

2909             p: React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>;
                 ~

  node_modules/@types/react/index.d.ts:2936:13
    2936             p: React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>;
                     ~
    'p' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2910:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'param' must be of type 'DetailedHTMLProps<ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>', but here has type 'DetailedHTMLProps<ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>'.

2910             param: React.DetailedHTMLProps<React.ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2937:13
    2937             param: React.DetailedHTMLProps<React.ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>;
                     ~~~~~
    'param' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2911:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'picture' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2911             picture: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:2938:13
    2938             picture: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~
    'picture' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2912:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'pre' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLPreElement>, HTMLPreElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLPreElement>, HTMLPreElement>'.

2912             pre: React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2939:13
    2939             pre: React.DetailedHTMLProps<React.HTMLAttributes<HTMLPreElement>, HTMLPreElement>;
                     ~~~
    'pre' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2913:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'progress' must be of type 'DetailedHTMLProps<ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>', but here has type 'DetailedHTMLProps<ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>'.

2913             progress: React.DetailedHTMLProps<React.ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>;
                 ~~~~~~~~

  node_modules/@types/react/index.d.ts:2940:13
    2940             progress: React.DetailedHTMLProps<React.ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>;
                     ~~~~~~~~
    'progress' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2914:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'q' must be of type 'DetailedHTMLProps<QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>', but here has type 'DetailedHTMLProps<QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>'.

2914             q: React.DetailedHTMLProps<React.QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>;
                 ~

  node_modules/@types/react/index.d.ts:2941:13
    2941             q: React.DetailedHTMLProps<React.QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>;
                     ~
    'q' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2915:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'rp' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2915             rp: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2942:13
    2942             rp: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~
    'rp' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2916:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'rt' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2916             rt: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2943:13
    2943             rt: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~
    'rt' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2917:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'ruby' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2917             ruby: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2944:13
    2944             ruby: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~
    'ruby' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2918:13 - error TS2717: Subsequent property declarations must have the same type.  Property 's' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2918             s: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~

  node_modules/@types/react/index.d.ts:2945:13
    2945             s: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~
    's' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2919:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'samp' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2919             samp: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2946:13
    2946             samp: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~
    'samp' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2920:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'script' must be of type 'DetailedHTMLProps<ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>', but here has type 'DetailedHTMLProps<ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>'.

2920             script: React.DetailedHTMLProps<React.ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2947:13
    2947             script: React.DetailedHTMLProps<React.ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>;
                     ~~~~~~
    'script' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2921:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'section' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2921             section: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:2948:13
    2948             section: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~
    'section' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2922:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'select' must be of type 'DetailedHTMLProps<SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>', but here has type 'DetailedHTMLProps<SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>'.

2922             select: React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2949:13
    2949             select: React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>;
                     ~~~~~~
    'select' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2923:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'small' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2923             small: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2950:13
    2950             small: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~
    'small' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2924:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'source' must be of type 'DetailedHTMLProps<SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>', but here has type 'DetailedHTMLProps<SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>'.

2924             source: React.DetailedHTMLProps<React.SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2951:13
    2951             source: React.DetailedHTMLProps<React.SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>;
                     ~~~~~~
    'source' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2925:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'span' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>'.

2925             span: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2952:13
    2952             span: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>;
                     ~~~~
    'span' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2926:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'strong' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2926             strong: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:2953:13
    2953             strong: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~
    'strong' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2927:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'style' must be of type 'DetailedHTMLProps<StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>', but here has type 'DetailedHTMLProps<StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>'.

2927             style: React.DetailedHTMLProps<React.StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2954:13
    2954             style: React.DetailedHTMLProps<React.StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>;
                     ~~~~~
    'style' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2928:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'sub' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2928             sub: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2955:13
    2955             sub: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~
    'sub' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2929:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'summary' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2929             summary: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:2956:13
    2956             summary: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~~~
    'summary' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2930:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'sup' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2930             sup: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2957:13
    2957             sup: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~
    'sup' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2931:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'table' must be of type 'DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>', but here has type 'DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>'.

2931             table: React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2958:13
    2958             table: React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>;
                     ~~~~~
    'table' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2932:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'template' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>'.

2932             template: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>;
                 ~~~~~~~~

  node_modules/@types/react/index.d.ts:2959:13
    2959             template: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>;
                     ~~~~~~~~
    'template' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2933:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'tbody' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'.

2933             tbody: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2960:13
    2960             tbody: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
                     ~~~~~
    'tbody' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2934:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'td' must be of type 'DetailedHTMLProps<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>', but here has type 'DetailedHTMLProps<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>'.

2934             td: React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2961:13
    2961             td: React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>;
                     ~~
    'td' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2935:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'textarea' must be of type 'DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>', but here has type 'DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>'.

2935             textarea: React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>;
                 ~~~~~~~~

  node_modules/@types/react/index.d.ts:2962:13
    2962             textarea: React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>;
                     ~~~~~~~~
    'textarea' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2936:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'tfoot' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'.

2936             tfoot: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2963:13
    2963             tfoot: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
                     ~~~~~
    'tfoot' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2937:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'th' must be of type 'DetailedHTMLProps<ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>', but here has type 'DetailedHTMLProps<ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>'.

2937             th: React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2964:13
    2964             th: React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>;
                     ~~
    'th' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2938:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'thead' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'.

2938             thead: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2965:13
    2965             thead: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>;
                     ~~~~~
    'thead' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2939:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'time' must be of type 'DetailedHTMLProps<TimeHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<TimeHTMLAttributes<HTMLElement>, HTMLElement>'.

2939             time: React.DetailedHTMLProps<React.TimeHTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:2966:13
    2966             time: React.DetailedHTMLProps<React.TimeHTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~
    'time' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2940:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'title' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>'.

2940             title: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2967:13
    2967             title: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>;
                     ~~~~~
    'title' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2941:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'tr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>'.

2941             tr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2968:13
    2968             tr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>;
                     ~~
    'tr' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2942:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'track' must be of type 'DetailedHTMLProps<TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>', but here has type 'DetailedHTMLProps<TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>'.

2942             track: React.DetailedHTMLProps<React.TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2969:13
    2969             track: React.DetailedHTMLProps<React.TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>;
                     ~~~~~
    'track' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2943:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'u' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2943             u: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~

  node_modules/@types/react/index.d.ts:2970:13
    2970             u: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~
    'u' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2944:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'ul' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>'.

2944             ul: React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>;
                 ~~

  node_modules/@types/react/index.d.ts:2971:13
    2971             ul: React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>;
                     ~~
    'ul' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2945:13 - error TS2717: Subsequent property declarations must have the same type.  Property '"var"' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2945             "var": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2972:13
    2972             "var": React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~~~
    '"var"' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2946:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'video' must be of type 'DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>', but here has type 'DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>'.

2946             video: React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:2973:13
    2973             video: React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>;
                     ~~~~~
    'video' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2947:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'wbr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

2947             wbr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:2974:13
    2974             wbr: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
                     ~~~
    'wbr' was also declared here.

node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2948:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'webview' must be of type 'DetailedHTMLProps<WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>', but here has type 'DetailedHTMLProps<WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>'.

2948             webview: React.DetailedHTMLProps<React.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>;
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:2975:13
    2975             webview: React.DetailedHTMLProps<React.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>;
                     ~~~~~~~
    'webview' was also declared here.

node_modules/@types/react/index.d.ts:2847:14 - error TS2300: Duplicate identifier 'LibraryManagedAttributes'.

2847         type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
                  ~~~~~~~~~~~~~~~~~~~~~~~~

  node_modules/@types/react-dom/node_modules/@types/react/index.d.ts:2820:14
    2820         type LibraryManagedAttributes<C, P> = C extends React.MemoExoticComponent<infer T> | React.LazyExoticComponent<infer T>
                      ~~~~~~~~~~~~~~~~~~~~~~~~
    'LibraryManagedAttributes' was also declared here.

src/components.ts:7:54 - error TS2307: Cannot find module '@aws-amplify/ui-components/loader'.

7 import { defineCustomElements, applyPolyfills } from '@aws-amplify/ui-components/loader';
                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/components.ts:38:57 - error TS2694: Namespace 'LocalJSX' has no exported member 'ContextConsumer'.

38 export const ContextConsumer = createReactComponent<JSX.ContextConsumer, HTMLContextConsumerElement>('context-consumer');
                                                           ~~~~~~~~~~~~~~~

src/components.ts:38:74 - error TS2304: Cannot find name 'HTMLContextConsumerElement'.

38 export const ContextConsumer = createReactComponent<JSX.ContextConsumer, HTMLContextConsumerElement>('context-consumer');
                                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~

src/react-component-lib/createOverlayComponent.tsx:15:17 - error TS2742: The inferred type of 'createOverlayComponent' cannot be named without a reference to 'react-dom/node_modules/@types/react'. This is likely not portable. A type annotation is necessary.

15 export function createOverlayComponent<
                   ~~~~~~~~~~~~~~~~~~~~~~


Found 124 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @aws-amplify/ui-react@0.0.1 tsc: `tsc -p .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @aws-amplify/ui-react@0.0.1 tsc script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ecclemm/.npm/_logs/2019-11-05T00_25_07_325Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @aws-amplify/ui-react@0.0.1 compile: `npm run tsc`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @aws-amplify/ui-react@0.0.1 compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ecclemm/.npm/_logs/2019-11-05T00_25_07_341Z-debug.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /usr/local/Cellar/node/12.12.0/bin/node
Arguments: /usr/local/Cellar/yarn/1.19.1/libexec/lib/cli.js build
Directory: /Users/ecclemm/Projects/ericclemmons/amplify-js/packages/amplify-ui-react
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.

~/Projects/ericclemmons/amplify-js amplify-ui-react 7s
❯

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

"@aws-amplify/auth": "^1.3.3",
"@aws-amplify/core": "^1.1.2",
"@aws-amplify/xr": "^0.1.24"
"@aws-amplify/xr": "^0.1.24",
"emotion": "^10.0.9"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💁‍♂️ Dependencies should be added via yarn add for deterministic ordering.

"jest": "24.8.0",
"jest-cli": "24.8.0",
"jest": "24.9.0",
"jest-cli": "24.9.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating jest + types fixed existing TypeScript build errors.

"prettier": "^1.17.1",
"puppeteer": "1.19.0",
"rimraf": "^3.0.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stencil's start templates do yarn clean, but don't have rimraf as a dependency.

reactOutputTarget({
componentCorePackage: '@aws-amplify/ui-components',
proxiesFile: '../amplify-ui-react/src/components.ts',
}),
Copy link
Contributor Author

@ericclemmons ericclemmons Nov 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was easy enough, but the weird part is that this output target still needs to be compiled separately.

"sideEffects": false,
"version": "0.0.1",
"private": true,
"description": "React specific wrapper for @aws-amplify/ui-components",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


import { JSX } from '@aws-amplify/ui-components';

import { defineCustomElements, applyPolyfills } from '@aws-amplify/ui-components/loader';
Copy link
Contributor Author

@ericclemmons ericclemmons Nov 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is where things start to break: it is assumed that there is a /loader.js file in the root of the project, but all Stencil output targets are in /dist.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot find module '@aws-amplify/ui-components/loader'.ts(2307)

export const AmplifySignUp = createReactComponent<JSX.AmplifySignUp, HTMLAmplifySignUpElement>('amplify-sign-up');
export const AmplifyTooltip = createReactComponent<JSX.AmplifyTooltip, HTMLAmplifyTooltipElement>('amplify-tooltip');
export const AmplifyUsernameField = createReactComponent<JSX.AmplifyUsernameField, HTMLAmplifyUsernameFieldElement>('amplify-username-field');
export const ContextConsumer = createReactComponent<JSX.ContextConsumer, HTMLContextConsumerElement>('context-consumer');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Namespace 'LocalJSX' has no exported member 'ContextConsumer'.ts(2694)

@@ -0,0 +1,26 @@
{
"compilerOptions": {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ericclemmons
Copy link
Contributor Author

Closing this unless a solution materializes.

We can revisit in the near future...

@ericclemmons
Copy link
Contributor Author

I attempt to resolve conflicts, but it's easier to pluck the specific commits into a new branch based on ui-components/master.

@github-actions
Copy link

This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant