diff --git a/dist/hoc/withTheme.d.ts b/dist/hoc/withTheme.d.ts index ccc495498f5088f8985ea715a3874b145b54c6ef..a63a1c69a95785c8e916b6b7e8257f0012bf8f4c 100644 --- a/dist/hoc/withTheme.d.ts +++ b/dist/hoc/withTheme.d.ts @@ -1,3 +1,4 @@ import React from 'react'; import { AnyComponent, ExecutionProps } from '../types'; -export default function withTheme(Component: T): React.ForwardRefExoticComponent> & React.RefAttributes> & { [key in Exclude ? "propTypes" | "defaultProps" | "displayName" | "$$typeof" | "type" | "compare" : T extends React.ForwardRefExoticComponent ? "propTypes" | "defaultProps" | "displayName" | "$$typeof" | "render" : "length" | "propTypes" | "contextType" | "contextTypes" | "childContextTypes" | "defaultProps" | "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromError" | "name" | "type" | "getDefaultProps" | "mixins" | "prototype" | "caller" | "callee" | "arguments" | "arity">]: T[key]; }; + +export default function withTheme(Component: T): React.ForwardRefExoticComponent> & React.RefAttributes> & { [key in Exclude ? "propTypes" | "defaultProps" | "displayName" | "$$typeof" | "type" | "compare" : T extends React.ForwardRefExoticComponent ? "propTypes" | "defaultProps" | "displayName" | "$$typeof" | "render" : "length" | "propTypes" | "contextType" | "contextTypes" | "childContextTypes" | "defaultProps" | "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromError" | "name" | "type" | "getDefaultProps" | "mixins" | "prototype" | "caller" | "callee" | "arguments" | "arity">]: T[key]; };