UNPKG

598 BJavaScriptView Raw
1"use strict";
2function __export(m) {
3 for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4}
5var hmr_store_1 = require('./hmr-store');
6__export(require('./webpack-hmr'));
7__export(require('./hmr-decorator'));
8__export(require('./hmr-store'));
9function provideHmrState(initialState) {
10 if (initialState === void 0) { initialState = {}; }
11 return [
12 { provide: hmr_store_1.HMR_STATE, useValue: initialState },
13 { provide: hmr_store_1.HmrStore, useValue: hmr_store_1.HmrStore }
14 ];
15}
16exports.provideHmrState = provideHmrState;
17//# sourceMappingURL=index.js.map
\No newline at end of file