Skip to content

Commit

Permalink
Fix TS build
Browse files Browse the repository at this point in the history
  • Loading branch information
Rochmar Nicolas (DevExpress) committed Jul 22, 2024
1 parent 5b027c2 commit 4987edc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/devextreme/js/__internal/events/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ const EVENT_SOURCES_REGEX = {

export const eventSource = ({ type }) => {
let result = 'other';

each(EVENT_SOURCES_REGEX, function (key) {
/* eslint-disable @typescript-eslint/no-invalid-void-type */
each(EVENT_SOURCES_REGEX, function (key): boolean | void {
if (this.test(type)) {
result = key;

Expand Down

0 comments on commit 4987edc

Please sign in to comment.