Skip to content

Commit

Permalink
chore(react): fix minor types
Browse files Browse the repository at this point in the history
  • Loading branch information
vanbasten17 committed Mar 23, 2021
1 parent f8b2da8 commit e07517f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/botonic-react/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class WebchatApp {
getComponent(
optionsAtRuntime?: WebchatAppArgs
): React.ForwardRefExoticComponent<any>
getLastMessageUpdate(): Date
getLastMessageUpdate(): string
getMessages(): WebchatMessage[]
getVisibility(): Promise<boolean>
isWebchatVisible({ appId: string }): Promise<boolean>
Expand All @@ -199,6 +199,7 @@ export class WebchatApp {
toggle(): void
toggleCoverComponent(): void
updateMessageInfo(msgId: string, messageInfo: MessageInfo): void
updateLastMessageDate(date: string): void
updateUser(user: core.SessionUser): void
updateWebchatSettings(settings: WebchatSettingsProps): void
}
Expand Down
2 changes: 1 addition & 1 deletion packages/botonic-react/src/webchat/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface WebchatState {
isEmojiPickerOpen: boolean
isPersistentMenuOpen: boolean
isCoverComponentOpen: boolean
lastMessageUpdate: undefined
lastMessageUpdate: string
currentAttachment: File | undefined
}

Expand Down

0 comments on commit e07517f

Please sign in to comment.