Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
Enable static and instance fields in flow
Browse files Browse the repository at this point in the history
No need for the suppression comment.
  • Loading branch information
ianobermiller committed Jan 4, 2016
1 parent 16e6def commit a66a01f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ src
interfaces

[options]
suppress_comment= \\(.\\|\n\\)*\\$FlowStaticPropertyWarning
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
1 change: 0 additions & 1 deletion src/components/style-sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import React, {Component} from 'react';
import StyleKeeper from '../style-keeper';

export default class StyleSheet extends Component {
// $FlowStaticPropertyWarning
static contextTypes = {
_radiumStyleKeeper: React.PropTypes.instanceOf(StyleKeeper)
};
Expand Down

0 comments on commit a66a01f

Please sign in to comment.