diff options
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/constants.ts | 13 | ||||
| -rw-r--r-- | src/utils/index.ts | 2 |
2 files changed, 1 insertions, 14 deletions
diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 1f583c0..afc996e 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -1,16 +1,3 @@ -// Common types for the application - -export interface ResultType { - status: string; - message?: string; - output?: string; -} - -export interface GameType { - appid: number; - name: string; -} - // Common style definitions export const STYLES = { resultBox: { diff --git a/src/utils/index.ts b/src/utils/index.ts index d969cb6..d90787c 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -23,7 +23,7 @@ export const safeAsyncOperation = async <T,>( try { return await operation(); } catch (e) { - logError(`${errorContext}: ${String(e)}`); + void logError(`${errorContext}: ${String(e)}`); console.error(e); return undefined; } |
