Skip to content

Commit 072cea9

Browse files
committed
Gantt: fix ts issues (all files except ui.gantt.js)
1 parent e312234 commit 072cea9

22 files changed

+4387
-2990
lines changed
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
import Errors from '../widget/ui.errors';
1+
import errors from '@js/ui/widget/ui.errors';
22
import Gantt from 'devexpress-gantt';
33

4-
4+
// eslint-disable-next-line @stylistic/max-len
5+
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type,@typescript-eslint/explicit-module-boundary-types
56
export function getGanttViewCore() {
6-
if(!Gantt) {
7-
throw Errors.Error('E1041', 'devexpress-gantt');
8-
}
7+
if (!Gantt) {
8+
throw errors.Error('E1041', 'devexpress-gantt');
9+
}
910

10-
return Gantt;
11+
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
12+
return Gantt;
1113
}

0 commit comments

Comments
 (0)