6 lines
220 B
TypeScript
6 lines
220 B
TypeScript
type Cleanup = false | null | undefined | (() => void);
|
|
/**
|
|
* Combines multiple cleanup functions into a single cleanup function.
|
|
*/
|
|
export declare function mergeCleanups(...cleanups: Cleanup[]): () => void;
|
|
export {}; |