Skip to content

DT nightly: many new excessively deep instantiation errors #30372

Closed
@sandersn

Description

@sandersn

Could be the result of a react-redux change, but we should have caught it in CI then.

  • fluent-react
  • mirrorx
  • next-redux-saga
  • next-redux-wrapper
  • react-intl-redux
  • react-lifecycle-component

Running tsc from react-lifecycle-component, next-redug-saga or mirrorx gives:

../react-redux/index.d.ts:113:61 - error TS2589: Type instantiation is excessively deep and possibly infinite.

113     ) => ConnectedComponentClass<C, Omit<GetProps<C>, keyof Shared<TInjectedProps, GetProps<C>>> & TNeedsProps>;
                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Same for fluent-react, except the invocation is in its own code.

Unsurprisingly, doesn't repro on 3.3.3333. Edit: Haven't tried to bisect it though.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions