Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b51e3f

Browse files
matgentiliHeshamMegid
authored andcommitted
Changed getUnreadRepliesCount signature (Instabug#414)
* Changed getUnreadRepliesCount signature Now "getUnreadRepliesCount" return a number * Update index.d.ts Update index.d.ts methods signature
1 parent e5a582c commit 2b51e3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export namespace Replies {
8080
function show(): void;
8181
function setOnNewReplyReceivedCallback(onNewReplyReceivedCallback: () => void): void;
8282
function setOnNewReplyReceivedHandler(onNewReplyReceivedHandler: () => void): void;
83-
function getUnreadRepliesCount(messageCountCallback: () => void): void;
83+
function getUnreadRepliesCount(messageCountCallback: (count: number) => void): void;
8484
function setInAppNotificationsEnabled(inAppNotificationsEnabled: boolean): void;
8585
function setInAppNotificationSound(shouldPlaySound: boolean): void;
8686
}
@@ -126,7 +126,7 @@ export function setIBGLogPrintsToConsole(printsToConsole: boolean): void;
126126
export function setCrashReportingEnabled(enableCrashReporter: boolean): void;
127127
export function setDidSelectPromptOptionHandler(didSelectPromptOptionHandler: () => void): void;
128128
export function setSessionProfilerEnabled(sessionProfilerEnabled: boolean): void;
129-
export function getUnreadMessagesCount(messageCountCallback: () => void): void;
129+
export function getUnreadMessagesCount(messageCountCallback: (count: number) => void): void;
130130
export function setPushNotificationsEnabled(isPushNotificationEnabled: boolean): void;
131131
export function setEmailFieldRequiredForActions(
132132
isEmailFieldRequired: boolean,

0 commit comments

Comments
 (0)