diff --git a/src/renderer/reader/components/options-values.ts b/src/renderer/reader/components/options-values.ts index 47de7f35e..aacccdbd6 100644 --- a/src/renderer/reader/components/options-values.ts +++ b/src/renderer/reader/components/options-values.ts @@ -88,14 +88,14 @@ export const lineHeight: string[] = [ "2", ]; -const optionsValues = { +const optionsValues: AdjustableSettingsStrings = { fontSize, pageMargins, wordSpacing, letterSpacing, paraSpacing, lineHeight, -} as AdjustableSettingsStrings; +}; export type AdjustableSettingsStrings = { [key in keyof ReaderConfigStringsAdjustables]: string[];