From 49a03a7294417e5ceaf2e61a0bfcd4fcb60f1958 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Thu, 7 Nov 2019 14:00:59 -0800 Subject: [PATCH] react-native-dialog: Make container's modal props optional The tests use them in a way that indicates they are not required, so I added Partial around reactNativeModal.ModalProps. This probably resulted from a recent update to react-native-modal. --- types/react-native-dialog/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native-dialog/index.d.ts b/types/react-native-dialog/index.d.ts index 67be5ac9f5..7b7aa7154f 100644 --- a/types/react-native-dialog/index.d.ts +++ b/types/react-native-dialog/index.d.ts @@ -61,7 +61,7 @@ interface DescriptionProps { children: string; } -type reactNativeModalContainerProps = Pick>; +type reactNativeModalContainerProps = Partial>>; export namespace Dialog { class Button extends PureComponent<