Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Repository<KeyType, ItemType>

Type parameters

  • KeyType

  • ItemType

Hierarchy

Index

Constructors

Accessors

Methods

Constructors

constructor

  • new Repository<KeyType, ItemType>(): Repository<KeyType, ItemType>
  • Type parameters

    • KeyType

    • ItemType

    Returns Repository<KeyType, ItemType>

Accessors

items

  • get items(): ItemType[]
  • Returns ItemType[]

Methods

find

  • find(key: KeyType): ItemType
  • Parameters

    • key: KeyType

    Returns ItemType

Generated using TypeDoc