3.0.7 • Published 6 months ago

@types/hapi__catbox-memcached v3.0.7

Weekly downloads
507
License
MIT
Repository
github
Last release
6 months ago

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.

3.0.7

6 months ago

3.0.6

7 months ago

3.0.5

8 months ago

3.0.4

1 year ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

4 years ago

3.0.0

4 years ago