import { typify } from '../lib/teact/teactn'; import { GlobalState, ActionPayloads, NonTypedActionNames } from './types'; const typed = typify(); export const getGlobal = typed.getGlobal; export const setGlobal = typed.setGlobal; export const getActions = typed.getActions; export const addActionHandler = typed.addActionHandler; export const withGlobal = typed.withGlobal;