UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

15 lines (11 loc) • 212 B
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;