diff --git a/docs/rules/prefer-exact-props.md b/docs/rules/prefer-exact-props.md index c9878f7b7a..a24b101320 100644 --- a/docs/rules/prefer-exact-props.md +++ b/docs/rules/prefer-exact-props.md @@ -40,7 +40,7 @@ In this case, one could instead enforce only the exact props being used by using class Foo extends React.Component { props: {| bar: string - }| + |} render() { return

{this.props.bar}

;