Skip to content

Commit

Permalink
typescript code
Browse files Browse the repository at this point in the history
  • Loading branch information
DileSoft committed Jun 22, 2024
1 parent 8cc7d66 commit 8d5a62c
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 70 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import PropTypes from 'prop-types';
import { I18n } from '@iobroker/adapter-react-v5';

// eslint-disable-next-line import/no-cycle
import type { GetRxDataFromWidget, RxRenderWidgetProps } from '@iobroker/types-vis-2';
import type { GetRxDataFromWidget, RxRenderWidgetProps, RxWidgetInfoGroup } from '@iobroker/types-vis-2';
import VisRxWidget from '../../visRxWidget';

interface RxData {
Expand All @@ -35,7 +35,7 @@ class BasicViewInWidget8 extends VisRxWidget<RxData> {
id: 'tplStatefulContainerView8',
visSet: 'basic',
visName: 'View in widget 8',
visAttrs: 'oid;count[1]/number;group.views;contains_view_(0-count)/views',
visAttrs: 'oid;count[1]/number;group.views;contains_view_(0-count)/views' as unknown as RxWidgetInfoGroup[],
visPrev: 'widgets/basic/img/Prev_StatefulContainerView8.png',
} as const;
}
Expand Down
Loading

0 comments on commit 8d5a62c

Please sign in to comment.