UNPKG

react-native

Version:

A framework for building native apps using React

16 lines (14 loc) 631 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<<2a843bdbe617fd5e3f17cbca0c4c501e>> * * This file was translated from Flow by scripts/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;