OnCleanup: ((cleanupFn: (() => void)) => void)

Type declaration

    • (cleanupFn: (() => void)): void
    • Parameters

      • cleanupFn: (() => void)
          • (): void
          • Returns void

      Returns void