From aaf73bc0f70b59f3fba08440db95835061d52b22 Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Sun, 23 Jul 2023 20:17:27 -0600 Subject: [PATCH] undo two stylistic changes --- src/@types/stores.types.ts | 4 +++- src/components/settings/services/ServiceError.tsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/@types/stores.types.ts b/src/@types/stores.types.ts index cf5c012d0b..ff8f127ede 100644 --- a/src/@types/stores.types.ts +++ b/src/@types/stores.types.ts @@ -223,7 +223,9 @@ export interface ServicesStore extends TypedStore { } // TODO: Create actual type based on the default config in config.ts -type ISettings = Record; +interface ISettings { + [key: string]: any; +} export interface SettingsStore extends TypedStore { update: (value: any) => void; diff --git a/src/components/settings/services/ServiceError.tsx b/src/components/settings/services/ServiceError.tsx index c40787b29b..87efdeb962 100644 --- a/src/components/settings/services/ServiceError.tsx +++ b/src/components/settings/services/ServiceError.tsx @@ -24,7 +24,7 @@ const messages = defineMessages({ }, }); -type IProps = WrappedComponentProps; +interface IProps extends WrappedComponentProps {} @observer class ServiceError extends Component {