context.ts 204 Bytes
/* eslint-disable @typescript-eslint/explicit-function-return-type */

let STORE_CONTEXT = null

export const createConetxt = (store) => STORE_CONTEXT = store

export const getStore = () => STORE_CONTEXT