withTheme: <T: {}, C: Component<*>>(component: C) => (C & Component<{ theme: T }>),