UNPKG

react-native

Version:

A framework for building native apps using React

39 lines (32 loc) 900 B
/** * 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. * * @flow strict-local * @format */ // These don't actually exist anywhere in the code. 'use strict'; import type {ModuleConfig} from '../NativeModules'; const remoteModulesConfig: $ReadOnlyArray<ModuleConfig> = [ [ 'RemoteModule1', null, ['remoteMethod', 'promiseMethod', 'promiseReturningMethod', 'syncMethod'], [2 /* promiseReturningMethod */], [3 /* syncMethod */], ], [ 'RemoteModule2', null, ['remoteMethod', 'promiseMethod', 'promiseReturningMethod', 'syncMethod'], [2 /* promiseReturningMethod */], [3 /* syncMethod */], ], ]; const MessageQueueTestConfig = { remoteModuleConfig: remoteModulesConfig, }; module.exports = MessageQueueTestConfig;