Skip to content

Commit f1458d3

Browse files
committed
Fix theming unsubscribe type
1 parent 386f756 commit f1458d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/styled.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const styled = ({tagName, elementStyle, mountSheet}: StyledArgs) => {
3636
props: StyledElementPropsType
3737
sheet: JssSheet
3838
state: {theme?: Object}
39-
unsubscribe: Function
39+
unsubscribe: ?Function
4040

4141
dynamicTagName = ''
4242
setTheme = (theme: Object) => this.setState({theme})

0 commit comments

Comments
 (0)