Skip to main content

Function: makeIdentifiersMap()

makeIdentifiersMap<Type, Id, T>(): object

Type parameters

Type

Id

T

Returns

object

clear()

clear: () => void

Returns

void

find()

find: (type, id) => null | NonNullable<T>

Parameters

type: Type

id: Id

Returns

null | NonNullable<T>

forget()

forget: (type, id) => void

Parameters

type: Type

id: Id

Returns

void

forgetAll()

forgetAll: (type) => void

Parameters

type: Type

Returns

void

put()

put: (type, id, value) => void

Parameters

type: Type

id: Id

value: T

Returns

void

Source

maps/makeIdentifiersMap.ts:1