3.0.7 • Published 6 months ago
@types/hapi__catbox-memcached v3.0.7
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
// Type definitions for @hapi/catbox-memcached 3.0
// Project: https://github.com/hapijs/catbox-memcached#readme
// Definitions by: Avery Fay <https://github.com/btmorex>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Thu, 08 Jul 2021 14:22:42 GMT
- Dependencies: @types/hapi__catbox
- Global values: none
Credits
These definitions were written by Avery Fay.