diff --git a/index.d.ts b/index.d.ts index 8145ac5..71a30b0 100644 --- a/index.d.ts +++ b/index.d.ts @@ -30,8 +30,8 @@ declare module "react-css-themr" } export function themr( - identifier: string, + identifier: string | number | symbol, defaultTheme?: {}, options?: IThemrOptions - ):
(component: new(props?: P, context?: any) => React.Component
) => ThemedComponentClass
; + ):
(component: (new(props?: P, context?: any) => React.Component
) | React.SFC
) => ThemedComponentClass
; }