Skip to content

Commit

Permalink
Revert "rename Error to ChatError"
Browse files Browse the repository at this point in the history
This reverts commit e6d9114.
  • Loading branch information
mpreyskurantov committed Oct 18, 2024
1 parent e6d9114 commit c35b44f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/devextreme/js/ui/chat.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export type User = {
* @namespace DevExpress.ui.dxChat
* @public
*/
export type ChatError = {
export type Error = {
/**
* @docid
* @public
Expand Down Expand Up @@ -167,7 +167,7 @@ export interface dxChatOptions extends WidgetOptions<dxChat> {
* @default undefined
* @public
*/
errors?: Array<ChatError>;
errors?: Array<Error>;
/**
* @docid
* @default null
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/chat_types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export {
OptionChangedEvent,
MessageSendEvent,
User,
ChatError,
Error,
Message,
dxChatOptions,
Properties,
Expand Down
10 changes: 5 additions & 5 deletions packages/devextreme/ts/dx.all.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9560,7 +9560,7 @@ declare module DevExpress.ui {
/**
* [descr:dxChatOptions.errors]
*/
errors?: Array<DevExpress.ui.dxChat.ChatError>;
errors?: Array<DevExpress.ui.dxChat.Error>;
/**
* [descr:dxChatOptions.onMessageSend]
*/
Expand Down Expand Up @@ -30659,15 +30659,15 @@ declare module DevExpress.ui.dxButtonGroup {
}
declare module DevExpress.ui.dxChat {
/**
* [descr:ChatError]
* [descr:Error]
*/
export type ChatError = {
export type Error = {
/**
* [descr:ChatError.id]
* [descr:Error.id]
*/
id?: number | string;
/**
* [descr:ChatError.message]
* [descr:Error.message]
*/
message?: string;
};
Expand Down

0 comments on commit c35b44f

Please sign in to comment.