question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fixed @types/ dependencies cause duplication on install

See original GitHub issue

Currently the versions for the types dependencies are pinned to specific versions (e.g. https://github.com/buildo/react-autosize-textarea/blob/master/package.json#L75)

This is problematic for consumers that want @types/ packages deduped. Would it be possible to switch the versions to using ^ modifiers?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
bradleyayerscommented, Jan 16, 2018

My understanding is that @types does have a policy of semver, though it’s implementation relies on contributors adhering to that policy and bumping versions appropriately (just like any project following semver). Hearing that your understanding is that @types does not follow semver is very surprising and concerning.

Just to clarify — do you mean that you don’t understand @types to have a policy of semver, or that in practice you find that the policy is violated too often? I’d love to understand more about this, if you’re able to point me to any further information that would be greatly appreciated.

Why is it a problem that you install different versions of @types in your project?

In my project I currently have @types/react 16.0.25, and after I add react-autosize-textarea (that depends on @types/react 16.0.30) and try to compile the project, I get the following errors:

ERROR in [at-loader] ./node_modules/@types/react/index.d.ts:3522:19
    TS2320: Interface 'Element' cannot simultaneously extend types 'ReactElement<any>' and 'ReactElement<any>'.
  Named property 'type' of types 'ReactElement<any>' and 'ReactElement<any>' are not identical.

ERROR in [at-loader] ./node_modules/@types/react/index.d.ts:3523:19
    TS2320: Interface 'ElementClass' cannot simultaneously extend types 'Component<any, {}>' and 'Component<any, {}>'.
  Named property 'props' of types 'Component<any, {}>' and 'Component<any, {}>' are not identical.

ERROR in [at-loader] ./node_modules/@types/react/index.d.ts:3523:19
    TS2320: Interface 'ElementClass' cannot simultaneously extend types 'Component<any, {}>' and 'Component<any, {}>'.
  Named property 'refs' of types 'Component<any, {}>' and 'Component<any, {}>' are not identical.

ERROR in [at-loader] ./node_modules/@types/react/index.d.ts:3523:19
    TS2320: Interface 'ElementClass' cannot simultaneously extend types 'Component<any, {}>' and 'Component<any, {}>'.
  Named property 'setState' of types 'Component<any, {}>' and 'Component<any, {}>' are not identical.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3544:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3545:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'abbr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3546:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'address' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3547:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'area' must be of type 'DetailedHTMLProps<AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>', but here has type 'DetailedHTMLProps<AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3548:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'article' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3549:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'aside' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3550:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'audio' must be of type 'DetailedHTMLProps<AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>', but here has type 'DetailedHTMLProps<AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3551:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'b' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3552:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'base' must be of type 'DetailedHTMLProps<BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>', but here has type 'DetailedHTMLProps<BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3553:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'bdi' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3554:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'bdo' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3555:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'big' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3556:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'blockquote' must be of type 'DetailedHTMLProps<BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3557:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'body' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3558:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'br' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLBRElement>, HTMLBRElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLBRElement>, HTMLBRElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3559:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'button' must be of type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>', but here has type 'DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3560:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'canvas' must be of type 'DetailedHTMLProps<CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>', but here has type 'DetailedHTMLProps<CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3561:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'caption' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3562:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'cite' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3563:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'code' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3564:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'col' must be of type 'DetailedHTMLProps<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>', but here has type 'DetailedHTMLProps<ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3565:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'colgroup' must be of type 'DetailedHTMLProps<ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>', but here has type 'DetailedHTMLProps<ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3566:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'data' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3567:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'datalist' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3568:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'dd' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3569:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'del' must be of type 'DetailedHTMLProps<DelHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<DelHTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3570:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'details' must be of type 'DetailedHTMLProps<DetailsHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<DetailsHTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3571:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'dfn' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3572:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'dialog' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3573:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'div' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3574:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'dl' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLDListElement>, HTMLDListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLDListElement>, HTMLDListElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3575:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'dt' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3576:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'em' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3577:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'embed' must be of type 'DetailedHTMLProps<EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>', but here has type 'DetailedHTMLProps<EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3578:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'fieldset' must be of type 'DetailedHTMLProps<FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>', but here has type 'DetailedHTMLProps<FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3579:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'figcaption' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3580:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'figure' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3581:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'footer' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3582:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'form' must be of type 'DetailedHTMLProps<FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>', but here has type 'DetailedHTMLProps<FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3583:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'h1' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3584:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'h2' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3585:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'h3' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3586:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'h4' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3587:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'h5' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3588:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'h6' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3589:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'head' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3590:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'header' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3591:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'hgroup' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3592:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'hr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLHRElement>, HTMLHRElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLHRElement>, HTMLHRElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3593:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'html' must be of type 'DetailedHTMLProps<HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>', but here has type 'DetailedHTMLProps<HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3594:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'i' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3595:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'iframe' must be of type 'DetailedHTMLProps<IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>', but here has type 'DetailedHTMLProps<IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3596:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'img' must be of type 'DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>', but here has type 'DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3597:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'input' must be of type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>', but here has type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3598:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'ins' must be of type 'DetailedHTMLProps<InsHTMLAttributes<HTMLModElement>, HTMLModElement>', but here has type 'DetailedHTMLProps<InsHTMLAttributes<HTMLModElement>, HTMLModElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3599:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'kbd' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3600:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'keygen' must be of type 'DetailedHTMLProps<KeygenHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<KeygenHTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3601:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'label' must be of type 'DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>', but here has type 'DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3602:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'legend' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3603:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'li' must be of type 'DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>', but here has type 'DetailedHTMLProps<LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3604:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'link' must be of type 'DetailedHTMLProps<LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>', but here has type 'DetailedHTMLProps<LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3605:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'main' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3606:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'map' must be of type 'DetailedHTMLProps<MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>', but here has type 'DetailedHTMLProps<MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3607:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'mark' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3608:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'menu' must be of type 'DetailedHTMLProps<MenuHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<MenuHTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3609:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'menuitem' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3610:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'meta' must be of type 'DetailedHTMLProps<MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>', but here has type 'DetailedHTMLProps<MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3611:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'meter' must be of type 'DetailedHTMLProps<MeterHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<MeterHTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3612:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'nav' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3613:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'noindex' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3614:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'noscript' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3615:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'object' must be of type 'DetailedHTMLProps<ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>', but here has type 'DetailedHTMLProps<ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3616:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'ol' must be of type 'DetailedHTMLProps<OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>', but here has type 'DetailedHTMLProps<OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3617:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'optgroup' must be of type 'DetailedHTMLProps<OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>', but here has type 'DetailedHTMLProps<OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3618:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'option' must be of type 'DetailedHTMLProps<OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>', but here has type 'DetailedHTMLProps<OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3619:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'output' must be of type 'DetailedHTMLProps<OutputHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<OutputHTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3620:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'p' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3621:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'param' must be of type 'DetailedHTMLProps<ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>', but here has type 'DetailedHTMLProps<ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3622:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'picture' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3623:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'pre' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLPreElement>, HTMLPreElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLPreElement>, HTMLPreElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3624:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'progress' must be of type 'DetailedHTMLProps<ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>', but here has type 'DetailedHTMLProps<ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3625:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'q' must be of type 'DetailedHTMLProps<QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>', but here has type 'DetailedHTMLProps<QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3626:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'rp' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3627:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'rt' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3628:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'ruby' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3629:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 's' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3630:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'samp' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3631:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'script' must be of type 'DetailedHTMLProps<ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>', but here has type 'DetailedHTMLProps<ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3632:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'section' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3633:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'select' must be of type 'DetailedHTMLProps<SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>', but here has type 'DetailedHTMLProps<SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3634:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'small' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3635:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'source' must be of type 'DetailedHTMLProps<SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>', but here has type 'DetailedHTMLProps<SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3636:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'span' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3637:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'strong' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3638:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'style' must be of type 'DetailedHTMLProps<StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>', but here has type 'DetailedHTMLProps<StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3639:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'sub' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3640:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'summary' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3641:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'sup' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3642:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'table' must be of type 'DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>', but here has type 'DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3643:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'tbody' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3644:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'td' must be of type 'DetailedHTMLProps<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>', but here has type 'DetailedHTMLProps<TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3645:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'textarea' must be of type 'DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>', but here has type 'DetailedHTMLProps<TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3646:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'tfoot' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3647:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'th' must be of type 'DetailedHTMLProps<ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>', but here has type 'DetailedHTMLProps<ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3648:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'thead' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3649:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'time' must be of type 'DetailedHTMLProps<TimeHTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<TimeHTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3650:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'title' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3651:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'tr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3652:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'track' must be of type 'DetailedHTMLProps<TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>', but here has type 'DetailedHTMLProps<TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3653:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'u' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3654:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'ul' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLUListElement>, HTMLUListElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3655:13
    TS2403: Subsequent variable declarations must have the same type.  Variable '"var"' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3656:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'video' must be of type 'DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>', but here has type 'DetailedHTMLProps<VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3657:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'wbr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3660:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'svg' must be of type 'SVGProps<SVGSVGElement>', but here has type 'SVGProps<SVGSVGElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3662:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'animate' must be of type 'SVGProps<SVGElement>', but here has type 'SVGProps<SVGElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3663:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'animateTransform' must be of type 'SVGProps<SVGElement>', but here has type 'SVGProps<SVGElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3664:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'circle' must be of type 'SVGProps<SVGCircleElement>', but here has type 'SVGProps<SVGCircleElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3665:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'clipPath' must be of type 'SVGProps<SVGClipPathElement>', but here has type 'SVGProps<SVGClipPathElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3666:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'defs' must be of type 'SVGProps<SVGDefsElement>', but here has type 'SVGProps<SVGDefsElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3667:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'desc' must be of type 'SVGProps<SVGDescElement>', but here has type 'SVGProps<SVGDescElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3668:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'ellipse' must be of type 'SVGProps<SVGEllipseElement>', but here has type 'SVGProps<SVGEllipseElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3669:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feBlend' must be of type 'SVGProps<SVGFEBlendElement>', but here has type 'SVGProps<SVGFEBlendElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3670:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feColorMatrix' must be of type 'SVGProps<SVGFEColorMatrixElement>', but here has type 'SVGProps<SVGFEColorMatrixElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3671:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feComponentTransfer' must be of type 'SVGProps<SVGFEComponentTransferElement>', but here has type 'SVGProps<SVGFEComponentTransferElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3672:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feComposite' must be of type 'SVGProps<SVGFECompositeElement>', but here has type 'SVGProps<SVGFECompositeElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3673:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feConvolveMatrix' must be of type 'SVGProps<SVGFEConvolveMatrixElement>', but here has type 'SVGProps<SVGFEConvolveMatrixElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3674:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feDiffuseLighting' must be of type 'SVGProps<SVGFEDiffuseLightingElement>', but here has type 'SVGProps<SVGFEDiffuseLightingElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3675:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feDisplacementMap' must be of type 'SVGProps<SVGFEDisplacementMapElement>', but here has type 'SVGProps<SVGFEDisplacementMapElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3676:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feDistantLight' must be of type 'SVGProps<SVGFEDistantLightElement>', but here has type 'SVGProps<SVGFEDistantLightElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3677:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feFlood' must be of type 'SVGProps<SVGFEFloodElement>', but here has type 'SVGProps<SVGFEFloodElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3678:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feFuncA' must be of type 'SVGProps<SVGFEFuncAElement>', but here has type 'SVGProps<SVGFEFuncAElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3679:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feFuncB' must be of type 'SVGProps<SVGFEFuncBElement>', but here has type 'SVGProps<SVGFEFuncBElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3680:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feFuncG' must be of type 'SVGProps<SVGFEFuncGElement>', but here has type 'SVGProps<SVGFEFuncGElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3681:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feFuncR' must be of type 'SVGProps<SVGFEFuncRElement>', but here has type 'SVGProps<SVGFEFuncRElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3682:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feGaussianBlur' must be of type 'SVGProps<SVGFEGaussianBlurElement>', but here has type 'SVGProps<SVGFEGaussianBlurElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3683:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feImage' must be of type 'SVGProps<SVGFEImageElement>', but here has type 'SVGProps<SVGFEImageElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3684:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feMerge' must be of type 'SVGProps<SVGFEMergeElement>', but here has type 'SVGProps<SVGFEMergeElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3685:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feMergeNode' must be of type 'SVGProps<SVGFEMergeNodeElement>', but here has type 'SVGProps<SVGFEMergeNodeElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3686:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feMorphology' must be of type 'SVGProps<SVGFEMorphologyElement>', but here has type 'SVGProps<SVGFEMorphologyElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3687:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feOffset' must be of type 'SVGProps<SVGFEOffsetElement>', but here has type 'SVGProps<SVGFEOffsetElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3688:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'fePointLight' must be of type 'SVGProps<SVGFEPointLightElement>', but here has type 'SVGProps<SVGFEPointLightElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3689:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feSpecularLighting' must be of type 'SVGProps<SVGFESpecularLightingElement>', but here has type 'SVGProps<SVGFESpecularLightingElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3690:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feSpotLight' must be of type 'SVGProps<SVGFESpotLightElement>', but here has type 'SVGProps<SVGFESpotLightElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3691:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feTile' must be of type 'SVGProps<SVGFETileElement>', but here has type 'SVGProps<SVGFETileElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3692:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'feTurbulence' must be of type 'SVGProps<SVGFETurbulenceElement>', but here has type 'SVGProps<SVGFETurbulenceElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3693:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'filter' must be of type 'SVGProps<SVGFilterElement>', but here has type 'SVGProps<SVGFilterElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3694:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'foreignObject' must be of type 'SVGProps<SVGForeignObjectElement>', but here has type 'SVGProps<SVGForeignObjectElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3695:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'g' must be of type 'SVGProps<SVGGElement>', but here has type 'SVGProps<SVGGElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3696:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'image' must be of type 'SVGProps<SVGImageElement>', but here has type 'SVGProps<SVGImageElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3697:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'line' must be of type 'SVGProps<SVGLineElement>', but here has type 'SVGProps<SVGLineElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3698:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'linearGradient' must be of type 'SVGProps<SVGLinearGradientElement>', but here has type 'SVGProps<SVGLinearGradientElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3699:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'marker' must be of type 'SVGProps<SVGMarkerElement>', but here has type 'SVGProps<SVGMarkerElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3700:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'mask' must be of type 'SVGProps<SVGMaskElement>', but here has type 'SVGProps<SVGMaskElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3701:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'metadata' must be of type 'SVGProps<SVGMetadataElement>', but here has type 'SVGProps<SVGMetadataElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3702:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'path' must be of type 'SVGProps<SVGPathElement>', but here has type 'SVGProps<SVGPathElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3703:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'pattern' must be of type 'SVGProps<SVGPatternElement>', but here has type 'SVGProps<SVGPatternElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3704:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'polygon' must be of type 'SVGProps<SVGPolygonElement>', but here has type 'SVGProps<SVGPolygonElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3705:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'polyline' must be of type 'SVGProps<SVGPolylineElement>', but here has type 'SVGProps<SVGPolylineElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3706:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'radialGradient' must be of type 'SVGProps<SVGRadialGradientElement>', but here has type 'SVGProps<SVGRadialGradientElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3707:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'rect' must be of type 'SVGProps<SVGRectElement>', but here has type 'SVGProps<SVGRectElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3708:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'stop' must be of type 'SVGProps<SVGStopElement>', but here has type 'SVGProps<SVGStopElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3709:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'switch' must be of type 'SVGProps<SVGSwitchElement>', but here has type 'SVGProps<SVGSwitchElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3710:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'symbol' must be of type 'SVGProps<SVGSymbolElement>', but here has type 'SVGProps<SVGSymbolElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3711:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'text' must be of type 'SVGProps<SVGTextElement>', but here has type 'SVGProps<SVGTextElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3712:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'textPath' must be of type 'SVGProps<SVGTextPathElement>', but here has type 'SVGProps<SVGTextPathElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3713:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'tspan' must be of type 'SVGProps<SVGTSpanElement>', but here has type 'SVGProps<SVGTSpanElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3714:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'use' must be of type 'SVGProps<SVGUseElement>', but here has type 'SVGProps<SVGUseElement>'.

ERROR in [at-loader] ./node_modules/react-autosize-textarea/node_modules/@types/react/index.d.ts:3715:13
    TS2403: Subsequent variable declarations must have the same type.  Variable 'view' must be of type 'SVGProps<SVGViewElement>', but here has type 'SVGProps<SVGViewElement>'.

My options are:

  1. Enable --skipLibCheck — not really acceptable as I have my own .d.ts files that should be checked.
  2. Carefully choose a set of dependencies for my project that all have the same pinned @types dependencies (so as to dedupe), and raise issues and pull requests to bump to new versions of @types packages (as they come out) to keep them all in lock-step with each other.
  3. Avoid using any libraries that have pinned @types dependencies.
  4. Lobby packages with pinned @types dependencies to use ^ instead (current approach).
  5. Fork libraries and update them to use ^ @types versions.
3reactions
bradleyayerscommented, Jan 17, 2018

I suspect the reason that @types/x is included in your package.json is because it’s recommended in the TypeScript handbook:

Our package exposes declarations from each of those, so any user of our browserify-typescript-extension package needs to have these dependencies as well. For that reason, we used “dependencies” and not “devDependencies”, because otherwise our consumers would have needed to manually install those packages. If we had just written a command line application and not expected our package to be used as a library, we might have used devDependencies.

@bradleyayers do you agree?

Here’s my thoughts on this situation:

We know that TypeScript’s JSX types are global, and that if multiple versions of @types/react are installed they’ll likely conflict, so we don’t want to permit that. The most correct solution here is probably to use peerDependencies with a fuzzy version of @types/react (e.g. ^16.0.0) so that consumers are responsible for providing it if needed.

When someone installs the library (that does not yet have @types/react installed) they will get a warning from NPM telling them it is missing.

This is great for TypeScript consumers, but would be annoying for non-TypeScript consumers because they have no reason to install @types/x, yet unless they do they will be plagued with NPM warnings every time they npm install. NPM does not offer an alternative that both prevents incompatible adjacent @types/x versions, whilst not throwing a warning on install if it’s missing, whilst also guaranteeing de-duping.

The solution that other packages have taken with @types/react (i.e. exclude it from dependencies) is probably the most pragmatic one for libraries that have both TypeScript and non-TypeScript consumers, as any TS consumer is already going to have React types installed, and non-TS consumer won’t get a warning.

@types/react is a bit special though, in that it’s generally incompatible with other versions of itself. The conclusion above does not apply to all @types/ packages. In general you should follow the TS handbook and include @types/ dependencies in pkg.dependencies, using the fuzzy version ^ prefix to give consumers a balanced compromise of de-duping and safety.

Ultimately avoiding breakages when new package versions are published can only be solved by consumers using lock files in the CI. (more on that below)

https://blog.johnnyreilly.com/2017/02/typescript-types-and-repeatable-builds.html

Thanks for the link, reading it was helpful for me to understand your position. Here’s my take on it:

The fundamental problem is that the author has misguided belief that semantic versioning precisely describes program behaviour and can be relied upon to be “truthful”. There’s a few ways that’s flawed:

  • Humans decide whether a change is patch / minor / major, and humans make mistakes
  • There is no unambiguous universal definition for what a breaking change is (e.g. is a performance regression a breaking change? is adding a new property to an existing object a breaking change? is expanding a type from number to number | string a breaking change?) — all of these could break downstream code
  • Fundamentally semantic versioning is just a communication tool, think of it as a “tldr changelog”

No respect semantic versioning? No problem. You can go much further with repeatable builds and made use of facebook’s new npm client yarn and lockfiles (very popular BTW) but I haven’t felt the need yet. This should be ample for now.

The author comes close to the solution here, and even mentions lockfiles (this is the solution) but ends at the wrong conclusion of pinning versions being ample (hopefully he means for his own projects, and not a recommendation to other developers, though this distinction is not made clear in the article).

Pinning versions is a weak solution here, as it does nothing to protect you from fuzzy transitive dependencies, e.g.

You depend on foo@1.0.0, but foo depends on bar@^2.0.0. This means that while npm install will always give you foo 1.0.0, there is no guarantee you’ll get the same version of bar every time.

The real solution here is to use lock files as they pin the versions of the entire dependency tree (this includes all transitive dependencies).

To upgrade packages you do it on a branch and update the lock file with a new set of dependencies, check it passes your test suite, then merge to your main branch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix NPM link duplicate dependencies issues
Dealing with dependencies when developing a package and using it through npm link.
Read more >
Why does NPM's policy of duplicated dependencies work?
I think the first and foremost reason is that the language provides a common basis for primitive types (Number, String, Bool, Null, Undefined)...
Read more >
Remove Duplicate Dependencies with Maven - Baeldung
Learn how to detect duplicate dependencies in Maven using the mvn dependency:tree and mvn dependency:analyze-duplicate commands.
Read more >
Finding and fixing duplicates in webpack with Inspectpack
Needlessly duplicated dependencies produce larger, slower web applications. Let's embark on a deep dive into how npm and webpack work, ...
Read more >
Duplicate library dependency after version change
The problem is that it wont remove the previous version, leaving both the versions there. This is causing bad class resolution (I think)....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found