From aa3ae8e8e997891edb97a70587df6d0748da937f Mon Sep 17 00:00:00 2001 From: Tyler Jones Date: Fri, 28 Sep 2018 01:18:28 -0700 Subject: [PATCH] [ts] Add missing null return type to `checkForUpdate` (#1419) --- typings/react-native-code-push.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/react-native-code-push.d.ts b/typings/react-native-code-push.d.ts index 4b61a8c..dc24e2a 100644 --- a/typings/react-native-code-push.d.ts +++ b/typings/react-native-code-push.d.ts @@ -230,7 +230,7 @@ declare namespace CodePush { * * @param handleBinaryVersionMismatchCallback An optional callback for handling target binary version mismatch */ - function checkForUpdate(deploymentKey?: string, handleBinaryVersionMismatchCallback?: HandleBinaryVersionMismatchCallback): Promise; + function checkForUpdate(deploymentKey?: string, handleBinaryVersionMismatchCallback?: HandleBinaryVersionMismatchCallback): Promise; /** * Retrieves the metadata for an installed update (e.g. description, mandatory).