From b68f446f09306d305cea8ec86d05e99ca11bdf20 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Wed, 31 May 2017 17:48:36 +0530 Subject: [PATCH] fix typo --- src/core/withTheme.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/withTheme.js b/src/core/withTheme.js index 3c99206..1c0e390 100644 --- a/src/core/withTheme.js +++ b/src/core/withTheme.js @@ -9,7 +9,7 @@ type State = { theme: Theme, }; -export default function withThemeName( +export default function withTheme( Comp: ReactClass ): ReactClass { class ThemedComponent extends PureComponent { @@ -81,7 +81,7 @@ export default function withThemeName( } }; - _subscription: Object; + _subscription: { remove: Function }; _root: any; render() {