Files
react-native/packages/react-native/ReactCxxPlatform/react/nativemodule/JavaScriptModule.h
T
Zeya Peng 5747fc4b17 Fix license comment block in ReactCxxPlatform code
Summary:
## Changelog:

[Internal] [Changed] - Fix license comment block in ReactCxxPlatform code

Reviewed By: rshest

Differential Revision: D72802801

fbshipit-source-id: 987a532bfe10d66db0aa2dad687d064225fa609d
2025-04-11 10:44:01 -07:00

22 lines
486 B
C++

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <folly/dynamic.h>
#include <functional>
#include <string>
namespace facebook::react {
using JavaScriptModuleCallback = std::function<void(
const std::string& moduleName,
const std::string& methodName,
folly::dynamic&& args)>;
} // namespace facebook::react