mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: https://github.com/facebook/react-native/commit/3337add547c60b84816ef5dad82f4ead2e8742ef made some changes to method signature but the template wasn't updated. This adds the missing changes. ## Changelog [Internal] [Fixed] - Pass string by ref in TurboModule template Pull Request resolved: https://github.com/facebook/react-native/pull/33970 Test Plan: Didn't test the template directly, but the change is trivial. Reviewed By: cortinico Differential Revision: D36964481 Pulled By: dmitryrykun fbshipit-source-id: 561e32f218baf398b8d4d8c77381a2642e22ef42
17 lines
322 B
C++
17 lines
322 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
#include <ReactCommon/JavaTurboModule.h>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
std::shared_ptr<TurboModule> MainApplicationModuleProvider(
|
|
const std::string &moduleName,
|
|
const JavaTurboModule::InitParams ¶ms);
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|