let repoCache ; export function init ( ) { repoCache = { } ; } export function reset ( ) { repoCache = undefined ; } export function get < T = any > ( key ) { return repoCache ?. [ key ] ; } export function set ( key , value ) { if ( repoCache ) { repoCache [ key ] = value ; } }