Have an unusual question about omitting props in HoC

I have react component:

```js
interface IMyComponentProps {
  prop1: string,
  prop2: Function,
  items1: string[],
  items2: string[],
}

```

and i have HOC which takes this component and pass items1 and items2 to it

```js
interface IWithItems {
  items1: string[],
  items2: string[],
}

type WithoutItems<T extends IWithItems> = Omit<T, 'items1'|'items2'>;

function HoC<T extends IWithItems>(
  WrappedComponent:
    React.ComponentClass<T>
    | React.FunctionComponent<T>,
): React.ComponentClass<WithoutItems<T>> {
  class WithItemsWrapper extends React.Component<WithoutItems<T>, IWithItems> {

    state = {
      items1: [],
      items2: [],
    };

    async componentDidMount() {
      const items1 = await this.getItems1();
      const items2 = await this.getItems2();

      this.setState({
        items1,
        items2,
      });
    }

    getItems1 = () => (
      // from backend
    );

    getItems2 = () => (
      // from backend
    );

    render() {
      return (
        <WrappedComponent
          {...this.props}
          items1={this.state.items1}
          items2={this.state.items2}
        />
      );
    }
  }

  return hoistNonReactStatics(WithItemsWrapper, WrappedComponent);
}

```

Wrapped component has own props and these props contains items1, items2.
HoC pulling items from backend and pass it to wrapped component

at my `index.ts` file i exporting it as

```js
export default HoC(MyComponent);

```

the idea is that after this export and import this in other file `MyComponent` should require prop1 and prop2, but not items1 and items2, cuz they had already passed in HoC.

But now it says

```
Error:(59, 12) TS2322: Type 'Readonly<Pick<T, Exclude<keyof T, "items1" | "items2">>> & { items1: never[]; items2: never[]; children?: ReactNode; }' is not assignable to type 'IntrinsicAttributes & T & { children?: ReactNode; }'.
  Type 'Readonly<Pick<T, Exclude<keyof T, "items1" | "items2">>> & { items1: never[]; items2: never[]; children?: ReactNode; }' is not assignable to type 'T'.

```

Is it possible and if it is - what am i doing wrong?