Installation
npm install --save @types/hapi__catbox-memcached
Summary
This package contains type definitions for @hapi/catbox-memcached (https://github.com/hapijs/catbox-memcached#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__catbox-memcached.
index.d.ts
import { CacheKey, ClientApi, ClientOptions } from "@hapi/catbox";
declare namespace CatboxMemcached {
interface Options extends ClientOptions {
host?: string | undefined;
port?: number | undefined;
location?: string | undefined;
timeout?: number | undefined;
idle?: number | undefined;
}
}
interface CatboxMemcached<T> extends ClientApi<T> {}
declare class CatboxMemcached<T> implements ClientApi<T> {
constructor(options?: CatboxMemcached.Options);
generateKey(key: CacheKey): string;
}
export = CatboxMemcached;
Additional Details
- Last updated: Mon, 16 Jun 2025 1121 GMT
- Dependencies: @hapi/hapi, @types/hapi__catbox, @types/node, joi
Credits
These definitions were written by Avery Fay.