Skip to content

Commit

Permalink
Fix option keys not being optional
Browse files Browse the repository at this point in the history
Fixes #25
  • Loading branch information
samuelmeuli committed May 16, 2020
1 parent 91b1347 commit 7ccd8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FontPicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class FontPicker {
filter = OPTIONS_DEFAULTS.filter,
limit = OPTIONS_DEFAULTS.limit,
sort = OPTIONS_DEFAULTS.sort,
}: Options,
}: Partial<Options>,
// eslint-disable-next-line @typescript-eslint/no-empty-function
onChange: (font: Font) => void = (): void => {},
) {
Expand Down

0 comments on commit 7ccd8d9

Please # to comment.