UNPKG

react-native

Version:

A framework for building native apps using React

20 lines (18 loc) 790 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. * * @generated SignedSource<<bdbd6a135ecf47509d1eeba6e9f0b85b>> * * This file was translated from Flow by scripts/build-types/index.js. * Original file: packages/react-native/Libraries/Utilities/codegenNativeCommands.js */ type NativeCommandsOptions<T = string> = Readonly<{ supportedCommands: ReadonlyArray<T>; }>; declare function codegenNativeCommands<T extends {}>(options: NativeCommandsOptions<keyof T>): T; declare const $$codegenNativeCommands: typeof codegenNativeCommands; declare type $$codegenNativeCommands = typeof $$codegenNativeCommands; export default $$codegenNativeCommands;