typescript 打包问题

使用tsc命令打包出现如下错误, 请问这是什么地方导致的? 望指点一二

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

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

3192             slot: React.DetailedHTMLProps<React.SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:3195:13
    3195             slot: React.DetailedHTMLProps<React.SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement>;
                     ~~~~
    'slot' was also declared here.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

3224             svg: React.SVGProps<SVGSVGElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:3227:13
    3227             svg: React.SVGProps<SVGSVGElement>;
                     ~~~
    'svg' was also declared here.

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

3226             animate: React.SVGProps<SVGElement>; // TODO: It is SVGAnimateElement but is not in TypeScript's lib.dom.d.ts for now.
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:3229:13
    3229             animate: React.SVGProps<SVGElement>; // TODO: It is SVGAnimateElement but is not in TypeScript's lib.dom.d.ts for now.
                     ~~~~~~~
    'animate' was also declared here.

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

3227             animateMotion: React.SVGProps<SVGElement>;
                 ~~~~~~~~~~~~~

  node_modules/@types/react/index.d.ts:3230:13
    3230             animateMotion: React.SVGProps<SVGElement>;
                     ~~~~~~~~~~~~~
    'animateMotion' was also declared here.

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

3228             animateTransform: React.SVGProps<SVGElement>; // TODO: It is SVGAnimateTransformElement but is not in TypeScript's lib.dom.d.ts for now.
                 ~~~~~~~~~~~~~~~~

  node_modules/@types/react/index.d.ts:3231:13
    3231             animateTransform: React.SVGProps<SVGElement>; // TODO: It is SVGAnimateTransformElement but is not in TypeScript's lib.dom.d.ts for now.
                     ~~~~~~~~~~~~~~~~
    'animateTransform' was also declared here.

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

3229             circle: React.SVGProps<SVGCircleElement>;
                 ~~~~~~

  node_modules/@types/react/index.d.ts:3232:13
    3232             circle: React.SVGProps<SVGCircleElement>;
                     ~~~~~~
    'circle' was also declared here.

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

3230             clipPath: React.SVGProps<SVGClipPathElement>;
                 ~~~~~~~~

  node_modules/@types/react/index.d.ts:3233:13
    3233             clipPath: React.SVGProps<SVGClipPathElement>;
                     ~~~~~~~~
    'clipPath' was also declared here.

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

3231             defs: React.SVGProps<SVGDefsElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:3234:13
    3234             defs: React.SVGProps<SVGDefsElement>;
                     ~~~~
    'defs' was also declared here.

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

3232             desc: React.SVGProps<SVGDescElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:3235:13
    3235             desc: React.SVGProps<SVGDescElement>;
                     ~~~~
    'desc' was also declared here.

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

3233             ellipse: React.SVGProps<SVGEllipseElement>;
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:3236:13
    3236             ellipse: React.SVGProps<SVGEllipseElement>;
                     ~~~~~~~
    'ellipse' was also declared here.

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

3234             feBlend: React.SVGProps<SVGFEBlendElement>;
                 ~~~~~~~

  node_modules/@types/react/index.d.ts:3237:13
    3237             feBlend: React.SVGProps<SVGFEBlendElement>;
                     ~~~~~~~
    'feBlend' was also declared here.

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

3235             feColorMatrix: React.SVGProps<SVGFEColorMatrixElement>;
阅读 1.9k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题