diff --git a/src/FontPicker.ts b/src/FontPicker.ts index f6476d6..49988c4 100644 --- a/src/FontPicker.ts +++ b/src/FontPicker.ts @@ -46,7 +46,7 @@ export default class FontPicker { filter = OPTIONS_DEFAULTS.filter, limit = OPTIONS_DEFAULTS.limit, sort = OPTIONS_DEFAULTS.sort, - }: Options, + }: Partial, // eslint-disable-next-line @typescript-eslint/no-empty-function onChange: (font: Font) => void = (): void => {}, ) {