Removed overly-strict typing in MapViewExample

Summary:
public

While it's nice to see such a masterclass in strict typing with Flow, having it an example serves no useful purpose, and makes the example unnecessarily fragile with respect to API changes.

Reviewed By: gabelevi

Differential Revision: D2769981

fb-gh-sync-id: db5550d5674bf32ef8d331861751a4e6aa1f6536
This commit is contained in:
Nick Lockwood
2015-12-17 16:33:15 -08:00
committed by facebook-github-bot-3
parent 18d2177989
commit ba3a5f0eec
2 changed files with 6 additions and 43 deletions

View File

@@ -29,8 +29,8 @@ type Event = Object;
type MapRegion = {
latitude: number;
longitude: number;
latitudeDelta?: ?number;
longitudeDelta?: ?number;
latitudeDelta?: number;
longitudeDelta?: number;
};
const MapView = React.createClass({