mirror of
https://github.com/Dvorinka/ClubLogos.git
synced 2026-06-04 03:52:57 +00:00
fff
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
interface Node {
|
||||
next: Node | null;
|
||||
}
|
||||
|
||||
interface Constructor<T> {
|
||||
new(): T;
|
||||
}
|
||||
|
||||
declare function reusify<T extends Node>(constructor: Constructor<T>): {
|
||||
get(): T;
|
||||
release(node: T): void;
|
||||
};
|
||||
|
||||
export = reusify;
|
||||
Reference in New Issue
Block a user