getRepo<T extends IPersistStore> static method

T getRepo<T extends IPersistStore>()

get the local storage repository

Implementation

static T getRepo<T extends IPersistStore>() =>
    (_persistStateGlobalTest ?? _persistStateGlobal) as T;