2 Import a module while bypassing the cache.
8 module.exports = () => ++i;
11 import importFresh = require('import-fresh');
19 importFresh('./foo')();
22 importFresh('./foo')();
25 const foo = importFresh<typeof import('./foo')>('./foo');
28 declare function importFresh<T>(moduleId: string): T;