Skip to content

Commit dbe9e7a

Browse files
committed
Fix missed generic typing for UIComponent
1 parent d0fef9f commit dbe9e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/commons/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {BaseComponentPaddingModifier, BaseComponentMarginModifier} from './spaci
44

55
type TypographyName = 'fixme';
66
type ColorName = 'fixme';
7-
export class UIComponent extends React.PureComponent {}
7+
export class UIComponent<P = {}, S = {}, SS = any> extends React.PureComponent<P, S, SS> {}
88
export function forwardRef<T, P>(
99
WrappedComponent: React.ComponentType<T, P>
1010
): React.ComponentType<T, P>;

0 commit comments

Comments
 (0)