Skip to content

Commit 0014557

Browse files
authored
fix(uiFactory): add generic support (#2407)
1 parent c486547 commit 0014557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uiFactory/uiFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const uiFactoryBase: UIFactory = {
2020
},
2121
};
2222

23-
export function configureUIFactory(overrides: Partial<UIFactory>) {
23+
export function configureUIFactory<H extends string>(overrides: Partial<UIFactory<H>>) {
2424
Object.assign(uiFactoryBase, overrides);
2525
}
2626

0 commit comments

Comments
 (0)