UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

14 lines 441 B
import { IIdentifierFactory } from "./i-identifier-factory.js"; /** * @public * Provides an incrementing integer identifier. * * @remarks * By default the first ID will be 1, this may be configured at construction. */ export declare class IncrementingIdentifierFactory implements IIdentifierFactory { private id; constructor(id?: number); getNextId(): number; } //# sourceMappingURL=incrementing-identifier-factory.d.ts.map