diff --git a/apps/frontend/src/store/search.ts b/apps/frontend/src/store/search.ts index b13f14bcbe..1fb9ed0ea1 100644 --- a/apps/frontend/src/store/search.ts +++ b/apps/frontend/src/store/search.ts @@ -50,7 +50,7 @@ export function lowercaseAll(input: string | string[]): string | string[] { } export function valueToSeverity(severity: string): Severity { - if (severities.find(severity => severity === severity.toLowerCase())) { + if (severities.find((severity) => severity === severity.toLowerCase())) { return severity as Severity; } else { return 'none'; diff --git a/libs/hdf-converters/src/utils/parseJson.ts b/libs/hdf-converters/src/utils/parseJson.ts index 5a73a56f97..3347016c40 100644 --- a/libs/hdf-converters/src/utils/parseJson.ts +++ b/libs/hdf-converters/src/utils/parseJson.ts @@ -1,12 +1,12 @@ import {Result} from './result'; -type JSONValue = - | string - | number - | boolean - | null - | JSONValue[] - | {[key: string]: JSONValue} +export type JSONValue = + | string + | number + | boolean + | null + | JSONValue[] + | {[key: string]: JSONValue}; export function parseJson(str: string): Result { try {