matterbridge-roborock-vacuum-plugin
Version:
Matterbridge Roborock Vacuum Plugin
11 lines • 414 B
TypeScript
/**
* Common factory type definitions used across the codebase.
* @module types/factories
*/
import type { AnsiLogger } from 'matterbridge/logger';
/**
* Generic factory function type that creates instances of type T from argument A.
* Commonly used for dependency injection and service initialization.
*/
export type Factory<A, T> = (logger: AnsiLogger, arg: A) => T;
//# sourceMappingURL=factories.d.ts.map