diff --git a/src/styles/withTheme.d.ts b/src/styles/withTheme.d.ts index d14236dc084169..0409ca31dbf0fb 100644 --- a/src/styles/withTheme.d.ts +++ b/src/styles/withTheme.d.ts @@ -1,7 +1,5 @@ import { Theme } from './createMuiTheme'; -interface withTheme
{ - (component: React.ComponentType
): React.ComponentClass
; -} - -export default withTheme; +export default function withTheme
( + component: React.ComponentType
+): React.ComponentClass
;