UNPKG

@exceptionless/fetchclient

Version:

A simple fetch client with middleware support for Deno and the browser.

27 lines 599 B
import { type IObjectEvent } from "./ObjectEvent.js"; /** * Represents a counter that can be incremented and decremented. */ export declare class Counter { #private; /** * Gets the current count. */ get count(): number; /** * Gets an event that is triggered when the count changes. */ get changed(): IObjectEvent<{ previous: number; value: number; }>; /** * Increments the count by 1. */ increment(): void; /** * Decrements the count by 1. */ decrement(): void; } //# sourceMappingURL=Counter.d.ts.map