Skip to content

Commit

Permalink
Change nativeErrorCode, nativeErrorMessage to be nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
jvliwanag authored Dec 31, 2024
1 parent 9d2817b commit 4fd8745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ export namespace ReactNativeFirebase {
/**
* The native sdks returned error code, different per platform
*/
readonly nativeErrorCode: string | number;
readonly nativeErrorCode: string | number | null;

/**
* The native sdks returned error message, different per platform
*/
readonly nativeErrorMessage: string;
readonly nativeErrorMessage: string | null;
}

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

0 comments on commit 4fd8745

Please sign in to comment.