Skip to content

Commit 75d165c

Browse files
committed
fix: nativeErrorCode,message should be be nullable
1 parent 9d2817b commit 75d165c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/app/lib/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ export namespace ReactNativeFirebase {
5050
/**
5151
* The native sdks returned error code, different per platform
5252
*/
53-
readonly nativeErrorCode: string | number;
53+
readonly nativeErrorCode: string | number | null;
5454

5555
/**
5656
* The native sdks returned error message, different per platform
5757
*/
58-
readonly nativeErrorMessage: string;
58+
readonly nativeErrorMessage: string | null;
5959
}
6060

6161
export type LogLevelString = 'debug' | 'verbose' | 'info' | 'warn' | 'error' | 'silent';

0 commit comments

Comments
 (0)