replaces js interfaces with types

This commit is contained in:
Mose Müller
2024-01-16 12:57:35 +01:00
parent 0e9832e2f1
commit 0ecaeac3fb
12 changed files with 24 additions and 24 deletions

View File

@@ -6,14 +6,14 @@ import { getIdFromFullAccessPath } from '../utils/stringUtils';
import { DocStringComponent } from './DocStringComponent';
import { LevelName } from './NotificationsComponent';
interface EnumComponentProps {
type EnumComponentProps = {
name: string;
parentPath: string;
value: string;
docString?: string;
enumDict: Record<string, string>;
addNotification: (message: string, levelname?: LevelName) => void;
}
};
export const EnumComponent = React.memo((props: EnumComponentProps) => {
const {