1 | import React from "react";
|
2 | declare type Disposer = () => void;
|
3 | export declare function disposeOnUnmount(target: React.Component<any, any>, propertyKey: PropertyKey): void;
|
4 | export declare function disposeOnUnmount<TF extends Disposer | Array<Disposer>>(target: React.Component<any, any>, fn: TF): TF;
|
5 | export {};
|