Skip to content

Commit 4700c98

Browse files
committed
chore: clean up old, unused inferfaces
1 parent caab6a5 commit 4700c98

File tree

7 files changed

+2
-34
lines changed

7 files changed

+2
-34
lines changed

packages/main/src/components/FilterBar/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { Button } from '@ui5/webcomponents-react/lib/Button';
55
import { ButtonDesign } from '@ui5/webcomponents-react/lib/ButtonDesign';
66
import React, { FC, forwardRef, ReactNode, ReactNodeArray, RefObject, useCallback, useState } from 'react';
77
import { createComponentStyles } from '@ui5/webcomponents-react-base/lib/createComponentStyles';
8-
import { ClassProps } from '../../interfaces/ClassProps';
98
import { CommonProps } from '../../interfaces/CommonProps';
109
import styles from './FilterBar.jss';
1110

@@ -17,7 +16,7 @@ export interface FilterBarPropTypes extends CommonProps {
1716
children: ReactNode | ReactNodeArray;
1817
}
1918

20-
interface FilterBarInternalProps extends FilterBarPropTypes, ClassProps {}
19+
interface FilterBarInternalProps extends FilterBarPropTypes {}
2120

2221
const useStyles = createComponentStyles(styles, { name: 'FilterBar' });
2322

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { AnalyticalTableScrollMode } from '@ui5/webcomponents-react/lib/AnalyticalTableScrollMode';
22

3-
//@ts-ignore
4-
export interface AnalyticalTableDomRef extends HTMLDivElement {
3+
export interface AnalyticalTableDomRef extends Omit<HTMLDivElement, 'scrollTo'> {
54
scrollToItem: (index: number, align?: AnalyticalTableScrollMode) => void;
65
scrollTo: (scrollOffset: number) => void; //overrides native scrollTo function
76
}

packages/main/src/interfaces/ClassProps.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/main/src/interfaces/InputBaseItemType.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/main/src/interfaces/ListItemShape.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/main/src/interfaces/ObjectWithVariableKeys.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/main/src/interfaces/UI5WebComponentsReactPopoverPropTypes.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)