Browse Source

ref(hooks): Fix the type of skip-help hook (#66844)

Scott Cooper 1 year ago
parent
commit
c4ad04b6b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/types/hooks.tsx

+ 1 - 1
static/app/types/hooks.tsx

@@ -299,7 +299,7 @@ export type InterfaceChromeHooks = {
  * Onboarding experience hooks
  */
 export type OnboardingHooks = {
-  'onboarding-wizard:skip-help': GenericOrganizationComponentHook;
+  'onboarding-wizard:skip-help': () => React.ComponentType<{}>;
   'onboarding:block-hide-sidebar': () => boolean;
   'onboarding:extra-chrome': GenericComponentHook;
   'onboarding:targeted-onboarding-header': (opts: {source: string}) => React.ReactNode;