react-native 0.87.0-rc.2 → 0.87.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/jsinspector-modern/HostTargetTraceRecording.cpp +10 -7
- package/ReactCommon/jsinspector-modern/tracing/HostTracingProfile.h +14 -1
- package/ReactCommon/jsinspector-modern/tracing/TraceRecordingState.h +11 -0
- package/ReactCommon/react/nativemodule/dom/NativeDOM.cpp +10 -4
- package/package.json +7 -7
- package/types_generated/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +7 -7
- package/types_generated/Libraries/Alert/Alert.d.ts +6 -6
- package/types_generated/Libraries/Animated/AnimatedEvent.d.ts +2 -2
- package/types_generated/Libraries/Animated/AnimatedImplementation.d.ts +3 -3
- package/types_generated/Libraries/Animated/animations/Animation.d.ts +7 -7
- package/types_generated/Libraries/Animated/animations/DecayAnimation.d.ts +5 -5
- package/types_generated/Libraries/Animated/animations/SpringAnimation.d.ts +49 -49
- package/types_generated/Libraries/Animated/animations/TimingAnimation.d.ts +13 -13
- package/types_generated/Libraries/Animated/components/AnimatedFlatList.d.ts +3 -3
- package/types_generated/Libraries/Animated/components/AnimatedSectionList.d.ts +3 -3
- package/types_generated/Libraries/Animated/createAnimatedComponent.d.ts +4 -4
- package/types_generated/Libraries/Animated/nodes/AnimatedColor.d.ts +2 -2
- package/types_generated/Libraries/Animated/nodes/AnimatedInterpolation.d.ts +9 -9
- package/types_generated/Libraries/Animated/nodes/AnimatedNode.d.ts +3 -3
- package/types_generated/Libraries/Blob/BlobTypes.d.ts +4 -4
- package/types_generated/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +3 -3
- package/types_generated/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +3 -3
- package/types_generated/Libraries/Components/Button.d.ts +5 -5
- package/types_generated/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +3 -3
- package/types_generated/Libraries/Components/Pressable/Pressable.d.ts +5 -5
- package/types_generated/Libraries/Components/Pressable/useAndroidRippleForView.d.ts +6 -6
- package/types_generated/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +3 -3
- package/types_generated/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +3 -3
- package/types_generated/Libraries/Components/ScrollView/ScrollView.d.ts +20 -20
- package/types_generated/Libraries/Components/ScrollView/ScrollViewStickyHeader.d.ts +4 -4
- package/types_generated/Libraries/Components/Switch/Switch.d.ts +3 -3
- package/types_generated/Libraries/Components/TextInput/TextInput.flow.d.ts +5 -5
- package/types_generated/Libraries/Components/Touchable/TouchableHighlight.d.ts +4 -4
- package/types_generated/Libraries/Components/Touchable/TouchableOpacity.d.ts +3 -3
- package/types_generated/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +2 -2
- package/types_generated/Libraries/Components/View/View.d.ts +3 -3
- package/types_generated/Libraries/Components/View/ViewAccessibility.d.ts +12 -12
- package/types_generated/Libraries/Components/View/ViewPropTypes.d.ts +10 -10
- package/types_generated/Libraries/Core/ExtendedError.d.ts +10 -10
- package/types_generated/Libraries/Image/ImageProps.d.ts +13 -13
- package/types_generated/Libraries/Image/ImageTypes.flow.d.ts +5 -5
- package/types_generated/Libraries/Lists/FlatList.d.ts +13 -13
- package/types_generated/Libraries/Lists/SectionList.d.ts +4 -4
- package/types_generated/Libraries/LogBox/Data/LogBoxData.d.ts +2 -2
- package/types_generated/Libraries/LogBox/Data/LogBoxLog.d.ts +2 -2
- package/types_generated/Libraries/LogBox/Data/parseLogBoxLog.d.ts +2 -2
- package/types_generated/Libraries/Modal/Modal.d.ts +4 -4
- package/types_generated/Libraries/Network/FormData.d.ts +5 -5
- package/types_generated/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +4 -4
- package/types_generated/Libraries/Pressability/Pressability.d.ts +5 -5
- package/types_generated/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +11 -11
- package/types_generated/Libraries/ReactNative/AppRegistry.flow.d.ts +4 -4
- package/types_generated/Libraries/ReactNative/IPerformanceLogger.flow.d.ts +5 -5
- package/types_generated/Libraries/Renderer/shims/ReactNativeTypes.d.ts +34 -34
- package/types_generated/Libraries/Share/Share.d.ts +11 -11
- package/types_generated/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +3 -3
- package/types_generated/Libraries/StyleSheet/StyleSheetTypes.d.ts +182 -182
- package/types_generated/Libraries/StyleSheet/private/_TransformStyle.d.ts +3 -3
- package/types_generated/Libraries/Text/Text.d.ts +3 -3
- package/types_generated/Libraries/Text/TextProps.d.ts +5 -5
- package/types_generated/Libraries/TurboModule/RCTExport.d.ts +2 -2
- package/types_generated/Libraries/Types/CoreEventTypes.d.ts +8 -8
- package/types_generated/Libraries/Utilities/PlatformTypes.d.ts +6 -6
- package/types_generated/Libraries/Utilities/codegenNativeComponent.d.ts +5 -5
- package/types_generated/Libraries/Utilities/differ/deepDiffer.d.ts +2 -2
- package/types_generated/src/private/assets/AssetRegistry.d.ts +2 -2
- package/types_generated/src/private/components/virtualcollection/VirtualCollectionView.d.ts +5 -5
- package/types_generated/src/private/components/virtualcollection/column/VirtualColumn.d.ts +3 -3
- package/types_generated/src/private/components/virtualcollection/row/VirtualRow.d.ts +3 -3
- package/types_generated/src/private/components/virtualview/VirtualView.d.ts +7 -7
- package/types_generated/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.d.ts +5 -5
- package/types_generated/src/private/components/virtualview/VirtualViewNativeComponent.d.ts +5 -5
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.d.ts +7 -7
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.d.ts +5 -5
- package/types_generated/src/private/specs_DEPRECATED/modules/NativeUIManager.d.ts +8 -8
- package/types_generated/src/private/types/HostComponent.d.ts +3 -3
- package/types_generated/src/private/webapis/dom/events/CustomEvent.d.ts +2 -2
- package/types_generated/src/private/webapis/dom/events/Event.d.ts +4 -4
- package/types_generated/src/private/webapis/dom/events/EventTarget.d.ts +8 -8
- package/types_generated/src/private/webapis/dom/nodes/specs/NativeDOM.d.ts +3 -3
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<6e5d4efd84c6347588341c7e5da390d4>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/Libraries/StyleSheet/private/_TransformStyle.js
|
|
@@ -60,7 +60,7 @@ export type ____TransformStyle_Internal = Readonly<{
|
|
|
60
60
|
readonly skewY: string | AnimatedNode;
|
|
61
61
|
} | {
|
|
62
62
|
readonly matrix: ReadonlyArray<number | AnimatedNode> | AnimatedNode;
|
|
63
|
-
}>>>> | string;
|
|
63
|
+
}>>>> | string | undefined;
|
|
64
64
|
/**
|
|
65
65
|
* `transformOrigin` accepts an array with 3 elements - each element either being
|
|
66
66
|
* a number, or a string of a number ending with `%`. The last element cannot be
|
|
@@ -72,5 +72,5 @@ export type ____TransformStyle_Internal = Readonly<{
|
|
|
72
72
|
*
|
|
73
73
|
* E.g. transformOrigin: '30% 80% 15px'
|
|
74
74
|
*/
|
|
75
|
-
transformOrigin?: [string | number, string | number, string | number] | string;
|
|
75
|
+
transformOrigin?: [string | number, string | number, string | number] | string | undefined;
|
|
76
76
|
}>;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<1749c3bc6fb6431e1869804bb0563d61>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/Libraries/Text/Text.js
|
|
@@ -16,9 +16,9 @@ import * as React from "react";
|
|
|
16
16
|
export type TextInstance = HostInstance;
|
|
17
17
|
export type { TextProps } from "./TextProps";
|
|
18
18
|
declare const TextImpl: (props: Omit<TextProps, keyof {
|
|
19
|
-
ref?: React.Ref<TextInstance
|
|
19
|
+
ref?: React.Ref<TextInstance> | undefined;
|
|
20
20
|
}> & {
|
|
21
|
-
ref?: React.Ref<TextInstance
|
|
21
|
+
ref?: React.Ref<TextInstance> | undefined;
|
|
22
22
|
}) => React.ReactNode;
|
|
23
23
|
/**
|
|
24
24
|
* A React component for displaying text. `Text` supports nesting, styling,
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<0ce802965263b30a11b75a9742ab3ae7>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/Libraries/Text/TextProps.js
|
|
@@ -21,9 +21,9 @@ export type PressRetentionOffset = Readonly<{
|
|
|
21
21
|
right: number;
|
|
22
22
|
}>;
|
|
23
23
|
type TextPointerEventProps = Readonly<{
|
|
24
|
-
onPointerEnter?: (event: PointerEvent) => void;
|
|
25
|
-
onPointerLeave?: (event: PointerEvent) => void;
|
|
26
|
-
onPointerMove?: (event: PointerEvent) => void;
|
|
24
|
+
onPointerEnter?: ((event: PointerEvent) => void) | undefined;
|
|
25
|
+
onPointerLeave?: ((event: PointerEvent) => void) | undefined;
|
|
26
|
+
onPointerMove?: ((event: PointerEvent) => void) | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
export type TextPropsIOS = {
|
|
29
29
|
/**
|
|
@@ -120,7 +120,7 @@ type TextBaseProps = Readonly<{
|
|
|
120
120
|
* @default `'tail'`
|
|
121
121
|
*/
|
|
122
122
|
ellipsizeMode?: ("clip" | "head" | "middle" | "tail") | undefined;
|
|
123
|
-
id?: string;
|
|
123
|
+
id?: string | undefined;
|
|
124
124
|
/**
|
|
125
125
|
* Largest possible font scale when `allowFontScaling` is enabled.
|
|
126
126
|
* `null`/`undefined` inherits from the parent node or the global default (0).
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<d129f41846a6af6fd928908dcad92b6f>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/Libraries/TurboModule/RCTExport.js
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
*/
|
|
30
30
|
|
|
31
31
|
export interface DEPRECATED_RCTExport<T extends void = void> {
|
|
32
|
-
readonly getConstants?: () => {};
|
|
32
|
+
readonly getConstants?: (() => {}) | undefined;
|
|
33
33
|
}
|
|
34
34
|
export interface TurboModule extends DEPRECATED_RCTExport<void> {}
|
|
35
35
|
export type { RootTag } from "../Types/RootTagTypes.js";
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<5108c866e2d2ff8cc72ab0892dff41fe>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/Libraries/Types/CoreEventTypes.js
|
|
@@ -242,7 +242,7 @@ export type NativeTouchEvent = Readonly<{
|
|
|
242
242
|
* 3D Touch reported force
|
|
243
243
|
* @platform ios
|
|
244
244
|
*/
|
|
245
|
-
force?: number;
|
|
245
|
+
force?: number | undefined;
|
|
246
246
|
/**
|
|
247
247
|
* The ID of the touch
|
|
248
248
|
*/
|
|
@@ -300,13 +300,13 @@ export type NativeScrollEvent = Readonly<{
|
|
|
300
300
|
contentOffset: NativeScrollPoint;
|
|
301
301
|
contentSize: NativeScrollSize;
|
|
302
302
|
layoutMeasurement: NativeScrollSize;
|
|
303
|
-
velocity?: NativeScrollVelocity;
|
|
304
|
-
zoomScale?: number;
|
|
305
|
-
responderIgnoreScroll?: boolean;
|
|
303
|
+
velocity?: NativeScrollVelocity | undefined;
|
|
304
|
+
zoomScale?: number | undefined;
|
|
305
|
+
responderIgnoreScroll?: boolean | undefined;
|
|
306
306
|
/**
|
|
307
307
|
* @platform ios
|
|
308
308
|
*/
|
|
309
|
-
targetContentOffset?: NativeScrollPoint;
|
|
309
|
+
targetContentOffset?: NativeScrollPoint | undefined;
|
|
310
310
|
}>;
|
|
311
311
|
export type ScrollEvent = NativeSyntheticEvent<NativeScrollEvent>;
|
|
312
312
|
export type TargetedEvent = Readonly<{
|
|
@@ -340,12 +340,12 @@ export type KeyEvent = Readonly<{
|
|
|
340
340
|
* A boolean value that is true if the given key is being held down such that it is automatically repeating.
|
|
341
341
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat
|
|
342
342
|
*/
|
|
343
|
-
repeat?: boolean;
|
|
343
|
+
repeat?: boolean | undefined;
|
|
344
344
|
/**
|
|
345
345
|
* Returns a boolean value indicating if the event is fired within a composition session
|
|
346
346
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/CompositionEvent/isComposing
|
|
347
347
|
*/
|
|
348
|
-
isComposing?: boolean;
|
|
348
|
+
isComposing?: boolean | undefined;
|
|
349
349
|
}>;
|
|
350
350
|
export type KeyUpEvent = NativeSyntheticEvent<KeyEvent>;
|
|
351
351
|
export type KeyDownEvent = NativeSyntheticEvent<KeyEvent>;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<09e5843106ee0b73608b77131c6df023>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/Libraries/Utilities/PlatformTypes.js
|
|
@@ -36,7 +36,7 @@ type IOSPlatform = {
|
|
|
36
36
|
forceTouchAvailable: boolean;
|
|
37
37
|
interfaceIdiom: string;
|
|
38
38
|
isTesting: boolean;
|
|
39
|
-
isDisableAnimations?: boolean;
|
|
39
|
+
isDisableAnimations?: boolean | undefined;
|
|
40
40
|
osVersion: string;
|
|
41
41
|
reactNativeVersion: {
|
|
42
42
|
major: number;
|
|
@@ -45,7 +45,7 @@ type IOSPlatform = {
|
|
|
45
45
|
prerelease: string | undefined;
|
|
46
46
|
};
|
|
47
47
|
systemName: string;
|
|
48
|
-
isMacCatalyst?: boolean;
|
|
48
|
+
isMacCatalyst?: boolean | undefined;
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
51
|
* Whether the app is running on an iPad.
|
|
@@ -93,7 +93,7 @@ type AndroidPlatform = {
|
|
|
93
93
|
*/
|
|
94
94
|
get constants(): {
|
|
95
95
|
isTesting: boolean;
|
|
96
|
-
isDisableAnimations?: boolean;
|
|
96
|
+
isDisableAnimations?: boolean | undefined;
|
|
97
97
|
reactNativeVersion: {
|
|
98
98
|
major: number;
|
|
99
99
|
minor: number;
|
|
@@ -105,7 +105,7 @@ type AndroidPlatform = {
|
|
|
105
105
|
Serial: string;
|
|
106
106
|
Fingerprint: string;
|
|
107
107
|
Model: string;
|
|
108
|
-
ServerHost?: string;
|
|
108
|
+
ServerHost?: string | undefined;
|
|
109
109
|
uiMode: string;
|
|
110
110
|
Brand: string;
|
|
111
111
|
Manufacturer: string;
|
|
@@ -135,7 +135,7 @@ type WindowsPlatform = {
|
|
|
135
135
|
get Version(): number;
|
|
136
136
|
get constants(): {
|
|
137
137
|
isTesting: boolean;
|
|
138
|
-
isDisableAnimations?: boolean;
|
|
138
|
+
isDisableAnimations?: boolean | undefined;
|
|
139
139
|
reactNativeVersion: {
|
|
140
140
|
major: number;
|
|
141
141
|
minor: number;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<023ddb01b6f495228db7c116a76e314b>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/Libraries/Utilities/codegenNativeComponent.js
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
|
|
13
13
|
import type { HostComponent } from "../../src/private/types/HostComponent";
|
|
14
14
|
type NativeComponentOptions = Readonly<{
|
|
15
|
-
interfaceOnly?: boolean;
|
|
16
|
-
paperComponentName?: string;
|
|
17
|
-
paperComponentNameDeprecated?: string;
|
|
18
|
-
excludedPlatforms?: ReadonlyArray<"iOS" | "android"
|
|
15
|
+
interfaceOnly?: boolean | undefined;
|
|
16
|
+
paperComponentName?: string | undefined;
|
|
17
|
+
paperComponentNameDeprecated?: string | undefined;
|
|
18
|
+
excludedPlatforms?: ReadonlyArray<"iOS" | "android"> | undefined;
|
|
19
19
|
}>;
|
|
20
20
|
export type NativeComponentType<T extends {}> = HostComponent<T>;
|
|
21
21
|
declare function codegenNativeComponent<Props extends {}>(componentName: string, options?: NativeComponentOptions): NativeComponentType<Props>;
|
|
@@ -4,14 +4,14 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<269562f5d1a8e93887fc8bd2fb5b37d6>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/Libraries/Utilities/differ/deepDiffer.js
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
type Options = {
|
|
14
|
-
readonly unsafelyIgnoreFunctions?: boolean;
|
|
14
|
+
readonly unsafelyIgnoreFunctions?: boolean | undefined;
|
|
15
15
|
};
|
|
16
16
|
declare function deepDiffer(one: any, two: any, maxDepthOrOptions?: Options | number, maybeOptions?: Options): boolean;
|
|
17
17
|
declare const $$deepDiffer: typeof deepDiffer;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<1392af4edb0f890aabd3a12f7d32b115>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/assets/AssetRegistry.js
|
|
@@ -20,7 +20,7 @@ export type PackagerAsset = Readonly<{
|
|
|
20
20
|
hash: string;
|
|
21
21
|
name: string;
|
|
22
22
|
type: string;
|
|
23
|
-
resolver?: AssetDestPathResolver;
|
|
23
|
+
resolver?: AssetDestPathResolver | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
/**
|
|
26
26
|
* Runtime registry that maps asset IDs generated in a Metro bundle to asset
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<ffb935e31bc09dc04871b9cca8ab6b85>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/components/virtualcollection/VirtualCollectionView.js
|
|
@@ -34,14 +34,14 @@ export type VirtualCollectionGenerator = Readonly<{
|
|
|
34
34
|
export type VirtualCollectionViewComponent<TLayoutProps extends {}> = <TItem extends Item>(props: Omit<TLayoutProps, keyof {
|
|
35
35
|
children: (item: TItem, key: string) => React.ReactNode;
|
|
36
36
|
items: VirtualCollection<TItem>;
|
|
37
|
-
itemToKey?: ($$PARAM_0$$: TItem) => string;
|
|
38
|
-
removeClippedSubviews?: boolean;
|
|
37
|
+
itemToKey?: (($$PARAM_0$$: TItem) => string) | undefined;
|
|
38
|
+
removeClippedSubviews?: boolean | undefined;
|
|
39
39
|
testID?: null | undefined | string;
|
|
40
40
|
}> & {
|
|
41
41
|
children: (item: TItem, key: string) => React.ReactNode;
|
|
42
42
|
items: VirtualCollection<TItem>;
|
|
43
|
-
itemToKey?: ($$PARAM_0$$: TItem) => string;
|
|
44
|
-
removeClippedSubviews?: boolean;
|
|
43
|
+
itemToKey?: (($$PARAM_0$$: TItem) => string) | undefined;
|
|
44
|
+
removeClippedSubviews?: boolean | undefined;
|
|
45
45
|
testID?: null | undefined | string;
|
|
46
46
|
}) => React.ReactNode;
|
|
47
47
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<b77d2de4256bc800b10771bbd00c1b17>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/components/virtualcollection/column/VirtualColumn.js
|
|
@@ -15,8 +15,8 @@ import * as React from "react";
|
|
|
15
15
|
declare const $$VirtualColumn: <TItem extends Item>(props: {
|
|
16
16
|
children: (item: TItem, key: string) => React.ReactNode;
|
|
17
17
|
items: VirtualCollection<TItem>;
|
|
18
|
-
itemToKey?: ($$PARAM_0$$: TItem) => string;
|
|
19
|
-
removeClippedSubviews?: boolean;
|
|
18
|
+
itemToKey?: (($$PARAM_0$$: TItem) => string) | undefined;
|
|
19
|
+
removeClippedSubviews?: boolean | undefined;
|
|
20
20
|
testID?: null | undefined | string;
|
|
21
21
|
}) => React.ReactNode;
|
|
22
22
|
declare type $$VirtualColumn = typeof $$VirtualColumn;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<394be4a100baf3398f3479eeb1b8d778>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/components/virtualcollection/row/VirtualRow.js
|
|
@@ -15,8 +15,8 @@ import * as React from "react";
|
|
|
15
15
|
declare const $$VirtualRow: <TItem extends Item>(props: {
|
|
16
16
|
children: (item: TItem, key: string) => React.ReactNode;
|
|
17
17
|
items: VirtualCollection<TItem>;
|
|
18
|
-
itemToKey?: ($$PARAM_0$$: TItem) => string;
|
|
19
|
-
removeClippedSubviews?: boolean;
|
|
18
|
+
itemToKey?: (($$PARAM_0$$: TItem) => string) | undefined;
|
|
19
|
+
removeClippedSubviews?: boolean | undefined;
|
|
20
20
|
testID?: null | undefined | string;
|
|
21
21
|
}) => React.ReactNode;
|
|
22
22
|
declare type $$VirtualRow = typeof $$VirtualRow;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<05a9840529a257cc673126b47fd15eb5>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/components/virtualview/VirtualView.js
|
|
@@ -54,13 +54,13 @@ export type ModeChangeEvent = Readonly<Omit<Omit<NativeModeChangeEvent, "mode">,
|
|
|
54
54
|
}>;
|
|
55
55
|
declare const VirtualViewNativeComponent: typeof VirtualViewExperimentalNativeComponent;
|
|
56
56
|
type VirtualViewComponent = (props: {
|
|
57
|
-
children?: React.ReactNode;
|
|
58
|
-
hiddenStyle?: (targetRect: Rect) => ViewStyleProp;
|
|
59
|
-
nativeID?: string;
|
|
57
|
+
children?: React.ReactNode | undefined;
|
|
58
|
+
hiddenStyle?: ((targetRect: Rect) => ViewStyleProp) | undefined;
|
|
59
|
+
nativeID?: string | undefined;
|
|
60
60
|
ref?: null | undefined | React.Ref<React.ComponentRef<typeof VirtualViewNativeComponent>>;
|
|
61
61
|
style?: null | undefined | ViewStyleProp;
|
|
62
|
-
onModeChange?: (event: ModeChangeEvent) => void;
|
|
63
|
-
removeClippedSubviews?: boolean;
|
|
62
|
+
onModeChange?: ((event: ModeChangeEvent) => void) | undefined;
|
|
63
|
+
removeClippedSubviews?: boolean | undefined;
|
|
64
64
|
}) => React.ReactNode;
|
|
65
65
|
declare const NotHidden: null;
|
|
66
66
|
type HiddenStyle = Exclude<ViewStyleProp, typeof NotHidden>;
|
|
@@ -70,6 +70,6 @@ declare type $$VirtualView = typeof $$VirtualView;
|
|
|
70
70
|
export default $$VirtualView;
|
|
71
71
|
export declare function createHiddenVirtualView(style: ViewStyleProp): VirtualViewComponent;
|
|
72
72
|
export declare const _logs: {
|
|
73
|
-
states?: Array<State
|
|
73
|
+
states?: Array<State> | undefined;
|
|
74
74
|
};
|
|
75
75
|
export declare type _logs = typeof _logs;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<4abc235430fc70e8f661e546d269d815>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.js
|
|
@@ -55,12 +55,12 @@ type VirtualViewExperimentalNativeProps = Readonly<Omit<ViewProps, keyof {
|
|
|
55
55
|
/**
|
|
56
56
|
* Whether the initial mode should be `Hidden`.
|
|
57
57
|
*/
|
|
58
|
-
initialHidden?: boolean;
|
|
58
|
+
initialHidden?: boolean | undefined;
|
|
59
59
|
/**
|
|
60
60
|
* This was needed to get VirtualViewManagerDelegate to set this property.
|
|
61
61
|
* TODO: Investigate why spread ViewProps doesn't call setter
|
|
62
62
|
*/
|
|
63
|
-
removeClippedSubviews?: boolean;
|
|
63
|
+
removeClippedSubviews?: boolean | undefined;
|
|
64
64
|
/**
|
|
65
65
|
* Render state of children.
|
|
66
66
|
*
|
|
@@ -80,12 +80,12 @@ type VirtualViewExperimentalNativeProps = Readonly<Omit<ViewProps, keyof {
|
|
|
80
80
|
/**
|
|
81
81
|
* Whether the initial mode should be `Hidden`.
|
|
82
82
|
*/
|
|
83
|
-
initialHidden?: boolean;
|
|
83
|
+
initialHidden?: boolean | undefined;
|
|
84
84
|
/**
|
|
85
85
|
* This was needed to get VirtualViewManagerDelegate to set this property.
|
|
86
86
|
* TODO: Investigate why spread ViewProps doesn't call setter
|
|
87
87
|
*/
|
|
88
|
-
removeClippedSubviews?: boolean;
|
|
88
|
+
removeClippedSubviews?: boolean | undefined;
|
|
89
89
|
/**
|
|
90
90
|
* Render state of children.
|
|
91
91
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<6a70b88e492c9c319e79fa8ae84d6038>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/components/virtualview/VirtualViewNativeComponent.js
|
|
@@ -55,12 +55,12 @@ type VirtualViewNativeProps = Readonly<Omit<ViewProps, keyof {
|
|
|
55
55
|
/**
|
|
56
56
|
* Whether the initial mode should be `Hidden`.
|
|
57
57
|
*/
|
|
58
|
-
initialHidden?: boolean;
|
|
58
|
+
initialHidden?: boolean | undefined;
|
|
59
59
|
/**
|
|
60
60
|
* This was needed to get VirtualViewManagerDelegate to set this property.
|
|
61
61
|
* TODO: Investigate why spread ViewProps doesn't call setter
|
|
62
62
|
*/
|
|
63
|
-
removeClippedSubviews?: boolean;
|
|
63
|
+
removeClippedSubviews?: boolean | undefined;
|
|
64
64
|
/**
|
|
65
65
|
* Render state of children.
|
|
66
66
|
*
|
|
@@ -80,12 +80,12 @@ type VirtualViewNativeProps = Readonly<Omit<ViewProps, keyof {
|
|
|
80
80
|
/**
|
|
81
81
|
* Whether the initial mode should be `Hidden`.
|
|
82
82
|
*/
|
|
83
|
-
initialHidden?: boolean;
|
|
83
|
+
initialHidden?: boolean | undefined;
|
|
84
84
|
/**
|
|
85
85
|
* This was needed to get VirtualViewManagerDelegate to set this property.
|
|
86
86
|
* TODO: Investigate why spread ViewProps doesn't call setter
|
|
87
87
|
*/
|
|
88
|
-
removeClippedSubviews?: boolean;
|
|
88
|
+
removeClippedSubviews?: boolean | undefined;
|
|
89
89
|
/**
|
|
90
90
|
* Render state of children.
|
|
91
91
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<9b238e384714e34ec8962bb5283f2d4e>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.js
|
|
@@ -25,15 +25,15 @@ export type DisplayMetrics = {
|
|
|
25
25
|
fontScale: number;
|
|
26
26
|
};
|
|
27
27
|
export type DimensionsPayload = {
|
|
28
|
-
window?: DisplayMetrics;
|
|
29
|
-
screen?: DisplayMetrics;
|
|
30
|
-
windowPhysicalPixels?: DisplayMetricsAndroid;
|
|
31
|
-
screenPhysicalPixels?: DisplayMetricsAndroid;
|
|
28
|
+
window?: DisplayMetrics | undefined;
|
|
29
|
+
screen?: DisplayMetrics | undefined;
|
|
30
|
+
windowPhysicalPixels?: DisplayMetricsAndroid | undefined;
|
|
31
|
+
screenPhysicalPixels?: DisplayMetricsAndroid | undefined;
|
|
32
32
|
};
|
|
33
33
|
export type DeviceInfoConstants = {
|
|
34
34
|
readonly Dimensions: DimensionsPayload;
|
|
35
|
-
readonly isEdgeToEdge?: boolean;
|
|
36
|
-
readonly isIPhoneX_deprecated?: boolean;
|
|
35
|
+
readonly isEdgeToEdge?: boolean | undefined;
|
|
36
|
+
readonly isIPhoneX_deprecated?: boolean | undefined;
|
|
37
37
|
};
|
|
38
38
|
export interface Spec extends TurboModule {
|
|
39
39
|
readonly getConstants: () => DeviceInfoConstants;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<367ded3d83686497acd3e6e5af39e280>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.js
|
|
@@ -16,7 +16,7 @@ export type StackFrame = {
|
|
|
16
16
|
file: string | undefined;
|
|
17
17
|
lineNumber: number | undefined;
|
|
18
18
|
methodName: string;
|
|
19
|
-
collapse?: boolean;
|
|
19
|
+
collapse?: boolean | undefined;
|
|
20
20
|
};
|
|
21
21
|
export type ExceptionData = {
|
|
22
22
|
message: string;
|
|
@@ -26,13 +26,13 @@ export type ExceptionData = {
|
|
|
26
26
|
stack: Array<StackFrame>;
|
|
27
27
|
id: number;
|
|
28
28
|
isFatal: boolean;
|
|
29
|
-
extraData?: Object;
|
|
29
|
+
extraData?: Object | undefined;
|
|
30
30
|
};
|
|
31
31
|
export interface Spec extends TurboModule {
|
|
32
32
|
readonly reportFatalException: (message: string, stack: Array<StackFrame>, exceptionId: number) => void;
|
|
33
33
|
readonly reportSoftException: (message: string, stack: Array<StackFrame>, exceptionId: number) => void;
|
|
34
|
-
readonly reportException?: (data: ExceptionData) => void;
|
|
35
|
-
readonly dismissRedbox?: () => void;
|
|
34
|
+
readonly reportException?: ((data: ExceptionData) => void) | undefined;
|
|
35
|
+
readonly dismissRedbox?: (() => void) | undefined;
|
|
36
36
|
}
|
|
37
37
|
declare const ExceptionsManager: {
|
|
38
38
|
reportFatalException(message: string, stack: Array<StackFrame>, exceptionId: number): void;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<449390d7c183b7ee7e8df2b8bd2087f8>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/specs_DEPRECATED/modules/NativeUIManager.js
|
|
@@ -84,8 +84,8 @@ export interface Spec extends TurboModule {
|
|
|
84
84
|
readonly configureNextLayoutAnimation: (config: Object, callback: () => void, errorCallback: (error: Object) => void) => void;
|
|
85
85
|
readonly setChildren: (containerTag: number, reactTags: Array<number>) => void;
|
|
86
86
|
readonly manageChildren: (containerTag: number, moveFromIndices: Array<number>, moveToIndices: Array<number>, addChildReactTags: Array<number>, addAtIndices: Array<number>, removeAtIndices: Array<number>) => void;
|
|
87
|
-
readonly getConstantsForViewManager?: (viewManagerName: string) => Object | undefined;
|
|
88
|
-
readonly getDefaultEventTypes?: () => Array<string
|
|
87
|
+
readonly getConstantsForViewManager?: ((viewManagerName: string) => Object | undefined) | undefined;
|
|
88
|
+
readonly getDefaultEventTypes?: (() => Array<string>) | undefined;
|
|
89
89
|
/**
|
|
90
90
|
* Automatically animates views to their new positions when the
|
|
91
91
|
* next layout happens.
|
|
@@ -98,11 +98,11 @@ export interface Spec extends TurboModule {
|
|
|
98
98
|
* UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);
|
|
99
99
|
* ```
|
|
100
100
|
*/
|
|
101
|
-
readonly setLayoutAnimationEnabledExperimental?: (enabled: boolean) => void;
|
|
102
|
-
readonly sendAccessibilityEvent?: (reactTag: number, eventType: number) => void;
|
|
103
|
-
readonly lazilyLoadView?: (name: string) => Object;
|
|
104
|
-
readonly focus?: (reactTag: number) => void;
|
|
105
|
-
readonly blur?: (reactTag: number) => void;
|
|
101
|
+
readonly setLayoutAnimationEnabledExperimental?: ((enabled: boolean) => void) | undefined;
|
|
102
|
+
readonly sendAccessibilityEvent?: ((reactTag: number, eventType: number) => void) | undefined;
|
|
103
|
+
readonly lazilyLoadView?: ((name: string) => Object) | undefined;
|
|
104
|
+
readonly focus?: ((reactTag: number) => void) | undefined;
|
|
105
|
+
readonly blur?: ((reactTag: number) => void) | undefined;
|
|
106
106
|
}
|
|
107
107
|
declare const $$NativeUIManager: Spec;
|
|
108
108
|
declare type $$NativeUIManager = typeof $$NativeUIManager;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<18d7fc778fd55326ee6ff956ad8b361c>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/types/HostComponent.js
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as React from "react";
|
|
14
14
|
import type { HostInstance } from "./HostInstance";
|
|
15
15
|
export type HostComponent<Config extends {}> = (props: Omit<Config, keyof {
|
|
16
|
-
ref?: React.Ref<HostInstance
|
|
16
|
+
ref?: React.Ref<HostInstance> | undefined;
|
|
17
17
|
}> & {
|
|
18
|
-
ref?: React.Ref<HostInstance
|
|
18
|
+
ref?: React.Ref<HostInstance> | undefined;
|
|
19
19
|
}) => React.ReactNode;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<55e049246177fc2ab542bd49fdb240c0>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/webapis/dom/events/CustomEvent.js
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import type { EventInit } from "./Event";
|
|
19
19
|
import Event from "./Event";
|
|
20
20
|
export interface CustomEventInit extends EventInit {
|
|
21
|
-
readonly detail?: unknown;
|
|
21
|
+
readonly detail?: unknown | undefined;
|
|
22
22
|
}
|
|
23
23
|
declare class CustomEvent extends Event {
|
|
24
24
|
constructor(type: string, options?: null | undefined | CustomEventInit);
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<10f24afc3ebe5a342201381f17380147>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/webapis/dom/events/Event.js
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
|
|
18
18
|
import type EventTarget from "./EventTarget";
|
|
19
19
|
export interface EventInit {
|
|
20
|
-
readonly bubbles?: boolean;
|
|
21
|
-
readonly cancelable?: boolean;
|
|
22
|
-
readonly composed?: boolean;
|
|
20
|
+
readonly bubbles?: boolean | undefined;
|
|
21
|
+
readonly cancelable?: boolean | undefined;
|
|
22
|
+
readonly composed?: boolean | undefined;
|
|
23
23
|
}
|
|
24
24
|
declare class Event {
|
|
25
25
|
static readonly NONE: 0;
|
|
@@ -4,7 +4,7 @@
|
|
|
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<<
|
|
7
|
+
* @generated SignedSource<<5eb7829cd2196a219794c84da74e45cd>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/private/webapis/dom/events/EventTarget.js
|
|
@@ -17,16 +17,16 @@ export type EventHandler = {
|
|
|
17
17
|
};
|
|
18
18
|
export type EventListener = EventCallback | EventHandler;
|
|
19
19
|
export type EventListenerOptions = Readonly<{
|
|
20
|
-
capture?: boolean;
|
|
20
|
+
capture?: boolean | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export type AddEventListenerOptions = Readonly<Omit<EventListenerOptions, keyof {
|
|
23
|
-
passive?: boolean;
|
|
24
|
-
once?: boolean;
|
|
25
|
-
signal?: AbortSignal;
|
|
23
|
+
passive?: boolean | undefined;
|
|
24
|
+
once?: boolean | undefined;
|
|
25
|
+
signal?: AbortSignal | undefined;
|
|
26
26
|
}> & {
|
|
27
|
-
passive?: boolean;
|
|
28
|
-
once?: boolean;
|
|
29
|
-
signal?: AbortSignal;
|
|
27
|
+
passive?: boolean | undefined;
|
|
28
|
+
once?: boolean | undefined;
|
|
29
|
+
signal?: AbortSignal | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
declare class EventTarget {
|
|
32
32
|
addEventListener(type: string, callback: EventListener | null, optionsOrUseCapture?: AddEventListenerOptions | boolean): void;
|