Type alias DisposeFn

DisposeFn: (() => void)

A function that can be called to dispose of something or unsubscribe something. It's called without arguments and returns void.

Type declaration

    • (): void
    • Returns void