import CachePersistor from './CachePersistor' ; import { ApolloPersistOptions } from './types' ; export default < T > ( options ) => { const persistor = new CachePersistor ( options ) ; return persistor . restore ( ) ; } ;