UNPKG

react-native

Version:

A framework for building native apps using React

16 lines (14 loc) 638 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<<3d0364390c8dbcee178056b38c192819>> * * This file was translated from Flow by scripts/js-api/build-types/index.js. * Original file: packages/react-native/Libraries/TurboModule/TurboModuleRegistry.js */ import type { TurboModule } from "./RCTExport"; export declare function get<T extends TurboModule>(name: string): null | undefined | T; export declare function getEnforcing<T extends TurboModule>(name: string): T;