diff --git a/Libraries/ReactNative/RootTag.d.ts b/Libraries/ReactNative/RootTag.d.ts new file mode 100644 index 00000000000000..2522b8937a9e0b --- /dev/null +++ b/Libraries/ReactNative/RootTag.d.ts @@ -0,0 +1,13 @@ +/** + * 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. + * + * @format + */ + +import type * as React from 'react'; + +export type RootTag = number; +export const RootTagContext: React.Context; diff --git a/types/index.d.ts b/types/index.d.ts index 6ef79292429588..ae53354684926a 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -126,6 +126,7 @@ export * from '../Libraries/PushNotificationIOS/PushNotificationIOS'; export * from '../Libraries/ReactNative/AppRegistry'; export * from '../Libraries/ReactNative/I18nManager'; export * from '../Libraries/ReactNative/RendererProxy'; +export * from '../Libraries/ReactNative/RootTag'; export * from '../Libraries/ReactNative/UIManager'; export * from '../Libraries/ReactNative/requireNativeComponent'; export * from '../Libraries/Settings/Settings';