mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
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:
committed by
facebook-github-bot-3
parent
18d2177989
commit
ba3a5f0eec
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user