[ReactNative] Teach flow how to deal with images

This commit is contained in:
Alex Kotliarskyi
2015-08-26 18:30:46 -07:00
parent ac5c1e9cc4
commit 5b25f208c5
6 changed files with 77 additions and 60 deletions

View File

@@ -34,6 +34,9 @@ module.system=haste
munge_underscores=true
module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
module.name_mapper='^[./a-zA-Z0-9$_-]+\.png$' -> 'RelativeImageStub'
suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe