Skip to content

Commit

Permalink
fix type declaration of optionValues
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-lemeur committed Oct 31, 2024
1 parent d36b684 commit c23667b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/reader/components/options-values.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down

0 comments on commit c23667b

Please sign in to comment.