NonReactStatics<S, C>: {
    [key in Exclude<keyof S, S extends React.MemoExoticComponent<any>
        ? keyof MEMO_STATICS | keyof C
        : S extends React.ForwardRefExoticComponent<any>
            ? keyof FORWARD_REF_STATICS | keyof C
            : keyof REACT_STATICS | keyof KNOWN_STATICS | keyof C>]: S[key]
}

Type Parameters

  • S extends React.ComponentType<any>
  • C extends {
        [key: string]: true;
    } = {}