Skip to content

Commit 62b7863

Browse files
Undermakensalmamali
authored andcommitted
changed hasChats signature (#264)
* changed hasChats signature in typescript def
1 parent 599099a commit 62b7863

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
@@ -87,7 +87,7 @@ export namespace FeatureRequests {
8787
}
8888
export namespace Replies {
8989
function setEnabled(isEnabled: boolean): void;
90-
function hasChats(callback: () => void): void;
90+
function hasChats(callback: (previousChats : boolean) => void): void;
9191
function show(): void;
9292
function setOnNewReplyReceivedCallback(onNewReplyReceivedCallback: () => void): void;
9393
function getUnreadRepliesCount(messageCountCallback: () => void): void;
@@ -136,7 +136,7 @@ export function setFloatingButtonEdge(
136136
): void;
137137
export function setLocale(locale: locale): void;
138138
export function setColorTheme(colorTheme: colorTheme): void;
139-
export function setPrimaryColor(setPrimaryColor: string): void;
139+
export function setPrimaryColor(setPrimaryColor: number): void;
140140
export function appendTags(tags: string[]): void;
141141
export function resetTags(): void;
142142
export function getTags(tagsCallback: () => void): void;

0 commit comments

Comments
 (0)