Skip to content

Commit

Permalink
Fix typing in pattern-library entry point
Browse files Browse the repository at this point in the history
`PatternLibraryAppOptions` was not getting applied to `startApp`'s
parameters.
  • Loading branch information
lyzadanger committed Feb 7, 2023
1 parent 8a75dae commit fa62f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pattern-library/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function startApp({
icons = {},

...componentProps
} = {}) {
}: PatternLibraryAppOptions = {}) {
const allIcons = { ...iconSet, ...icons };
registerIcons(allIcons);
const container = document.querySelector('#app');
Expand Down

0 comments on commit fa62f4d

Please sign in to comment.