Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react-native/ReactNativeApi.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export declare type AlertButton = {
isPreferred?: boolean;

Check failure on line 2 in packages/react-native/ReactNativeApi.d.ts

View workflow job for this annotation

GitHub Actions / test_js (24)

Property is optional, so `undefined` must be included in the type

Check failure on line 2 in packages/react-native/ReactNativeApi.d.ts

View workflow job for this annotation

GitHub Actions / test_js (22)

Property is optional, so `undefined` must be included in the type
onPress?: (((value?: string) => any) | undefined) | (Function | undefined);

Check failure on line 3 in packages/react-native/ReactNativeApi.d.ts

View workflow job for this annotation

GitHub Actions / test_js (24)

Property is optional, so `undefined` must be included in the type

Check failure on line 3 in packages/react-native/ReactNativeApi.d.ts

View workflow job for this annotation

GitHub Actions / test_js (22)

Property is optional, so `undefined` must be included in the type
style?: AlertButtonStyle;

Check failure on line 4 in packages/react-native/ReactNativeApi.d.ts

View workflow job for this annotation

GitHub Actions / test_js (24)

Property is optional, so `undefined` must be included in the type

Check failure on line 4 in packages/react-native/ReactNativeApi.d.ts

View workflow job for this annotation

GitHub Actions / test_js (22)

Property is optional, so `undefined` must be included in the type
text?: string;
// text?: string;
};
Loading