|
4 | 4 | * This source code is licensed under the MIT license found in the |
5 | 5 | * LICENSE file in the root directory of this source tree. |
6 | 6 | * |
7 | | - * @generated SignedSource<<4950f1efd16fed02b526f83325c8351d>> |
| 7 | + * @generated SignedSource<<04955f1605996352fa3f3a3fc86ba937>> |
8 | 8 | * |
9 | 9 | * This file was generated by scripts/js-api/build-types/index.js. |
10 | 10 | */ |
@@ -1218,7 +1218,7 @@ declare type ActivityIndicatorProps = Readonly< |
1218 | 1218 | > |
1219 | 1219 | declare type add = typeof add |
1220 | 1220 | declare function addChangeListener( |
1221 | | - listener: ($$PARAM_0$$: { colorScheme: ColorSchemeName | undefined }) => void, |
| 1221 | + listener: (preferences: AppearancePreferences) => void, |
1222 | 1222 | ): EventSubscription |
1223 | 1223 | declare class Alert { |
1224 | 1224 | static alert( |
@@ -1629,13 +1629,13 @@ declare namespace Appearance { |
1629 | 1629 | getColorScheme, |
1630 | 1630 | setColorScheme, |
1631 | 1631 | addChangeListener, |
1632 | | - AppearancePreferences, |
1633 | 1632 | ColorSchemeName, |
1634 | 1633 | ColorSchemeOverride, |
| 1634 | + AppearancePreferences, |
1635 | 1635 | } |
1636 | 1636 | } |
1637 | 1637 | declare type AppearancePreferences = { |
1638 | | - colorScheme?: ColorSchemeName |
| 1638 | + colorScheme: ColorSchemeName | null |
1639 | 1639 | } |
1640 | 1640 | declare type AppParameters = { |
1641 | 1641 | initialProps: { |
@@ -2468,7 +2468,7 @@ declare function get_2<T extends TurboModule>( |
2468 | 2468 | name: string, |
2469 | 2469 | ): null | T | undefined |
2470 | 2470 | declare function getAppKeys(): ReadonlyArray<string> |
2471 | | -declare function getColorScheme(): ColorSchemeName | null | undefined |
| 2471 | +declare function getColorScheme(): ColorSchemeName | null |
2472 | 2472 | declare function getEnforcing<T extends TurboModule>(name: string): T |
2473 | 2473 | declare function getRegistry(): Registry |
2474 | 2474 | declare function getRunnable(appKey: string): null | Runnable | undefined |
@@ -5738,7 +5738,7 @@ declare function useAnimatedValueXY( |
5738 | 5738 | }, |
5739 | 5739 | config?: Animated.AnimatedConfig | null | undefined, |
5740 | 5740 | ): Animated.ValueXY |
5741 | | -declare function useColorScheme(): ColorSchemeName | null | undefined |
| 5741 | +declare function useColorScheme(): ColorSchemeName | null |
5742 | 5742 | declare function usePressability( |
5743 | 5743 | config: null | PressabilityConfig | undefined, |
5744 | 5744 | ): null | PressabilityEventHandlers |
@@ -6073,7 +6073,7 @@ export { |
6073 | 6073 | AppState, // 12012be5 |
6074 | 6074 | AppStateEvent, // 80f034c3 |
6075 | 6075 | AppStateStatus, // 447e5ef2 |
6076 | | - Appearance, // df9545f9 |
| 6076 | + Appearance, // 0e9bf4fe |
6077 | 6077 | AutoCapitalize, // c0e857a0 |
6078 | 6078 | BackHandler, // f139fc69 |
6079 | 6079 | BackPressEventName, // 4620fb76 |
@@ -6339,7 +6339,7 @@ export { |
6339 | 6339 | useAnimatedColor, // e3511f81 |
6340 | 6340 | useAnimatedValue, // b18adb63 |
6341 | 6341 | useAnimatedValueXY, // c7ee2332 |
6342 | | - useColorScheme, // 29a517d5 |
| 6342 | + useColorScheme, // d585efdb |
6343 | 6343 | usePressability, // b4e21b46 |
6344 | 6344 | useWindowDimensions, // bb4b683f |
6345 | 6345 | } |
0 commit comments