Interface representing a clearable object.

interface IClearable<K = string> {
    clear: (key?: K) => void;
}

Type Parameters

  • K = string

    The type of the key.

Hierarchy (View Summary)

Properties

Properties

clear: (key?: K) => void