1 | import * as React from 'react';
|
2 | import { ReactCookieProps } from './types';
|
3 | type Diff<T, U> = T extends U ? never : T;
|
4 | type Omit<T, K extends keyof T> = Pick<T, Diff<keyof T, K>>;
|
5 | export default function withCookies<T extends ReactCookieProps>(WrappedComponent: React.ComponentType<T>): React.ComponentType<Omit<T, keyof ReactCookieProps>>;
|
6 | export {};
|