Rocky_Mountain_Vending/.pnpm-store/v10/files/17/f4c333da940cec198e6352f6f747faf6c2e1ca698057561bb39e3c56045f616296d3b7fa5a9e65fe177cc1213bd8bca7a34f8b744fbc75aec9de42ed86e6ce
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

17 lines
624 B
Text

/**
* A type which requires manual disposal to free unmanaged resources. In the
* context of this library, this usually means freeing memory from WebAssembly
* code.
*/
export interface IDisposable {
/**
* Frees unmanaged resources of the object. This method is idempotent;
* calling it multiple times will have no ill effects.
*/
dispose(): void;
}
/**
* A helper function that calls `.dispose()` on the {@link IDisposable} when
* the given function (or promise returned by the function) returns.
*/
export declare const using: <T, D extends IDisposable>(disposable: D, fn: (d: D) => T) => T;