mirror of
https://github.com/status-im/react-native.git
synced 2025-01-26 01:10:34 +00:00
Provide default implementation of getConstants
Reviewed By: kathryngray Differential Revision: D5453963 fbshipit-source-id: cf3d42a86c3262991697e9c1a23ab90b7f742afe
This commit is contained in:
parent
114b0801ce
commit
c1c791fb59
@ -165,7 +165,7 @@ public:
|
||||
* Each entry in the map will be exported as a property to JS. The
|
||||
* key is the property name, and the value can be anything.
|
||||
*/
|
||||
virtual auto getConstants() -> std::map<std::string, folly::dynamic> = 0;
|
||||
virtual auto getConstants() -> std::map<std::string, folly::dynamic> { return {}; };
|
||||
|
||||
/**
|
||||
* @return a list of methods this module exports to JS.
|
||||
|
Loading…
x
Reference in New Issue
Block a user