Skip to content

Commit

Permalink
chore: clean up old, unused inferfaces (#495)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
MarcusNotheis authored May 8, 2020
1 parent b514c0e commit 987ef26
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 34 deletions.
3 changes: 1 addition & 2 deletions packages/main/src/components/FilterBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Button } from '@ui5/webcomponents-react/lib/Button';
import { ButtonDesign } from '@ui5/webcomponents-react/lib/ButtonDesign';
import React, { FC, forwardRef, ReactNode, ReactNodeArray, RefObject, useCallback, useState } from 'react';
import { createComponentStyles } from '@ui5/webcomponents-react-base/lib/createComponentStyles';
import { ClassProps } from '../../interfaces/ClassProps';
import { CommonProps } from '../../interfaces/CommonProps';
import styles from './FilterBar.jss';

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

interface FilterBarInternalProps extends FilterBarPropTypes, ClassProps {}
interface FilterBarInternalProps extends FilterBarPropTypes {}

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

Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/interfaces/AnalyticalTableDomRef.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { AnalyticalTableScrollMode } from '@ui5/webcomponents-react/lib/AnalyticalTableScrollMode';

//@ts-ignore
export interface AnalyticalTableDomRef extends HTMLDivElement {
export interface AnalyticalTableDomRef extends Omit<HTMLDivElement, 'scrollTo'> {
scrollToItem: (index: number, align?: AnalyticalTableScrollMode) => void;
scrollTo: (scrollOffset: number) => void; //overrides native scrollTo function
}
7 changes: 0 additions & 7 deletions packages/main/src/interfaces/ClassProps.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/main/src/interfaces/InputBaseItemType.ts

This file was deleted.

5 changes: 0 additions & 5 deletions packages/main/src/interfaces/ListItemShape.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/main/src/interfaces/ObjectWithVariableKeys.ts

This file was deleted.

This file was deleted.

0 comments on commit 987ef26

Please sign in to comment.