1 | "use strict";
|
2 | function __export(m) {
|
3 | for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
4 | }
|
5 | var hmr_store_1 = require('./hmr-store');
|
6 | __export(require('./webpack-hmr'));
|
7 | __export(require('./hmr-decorator'));
|
8 | __export(require('./hmr-store'));
|
9 | function 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 | }
|
16 | exports.provideHmrState = provideHmrState;
|
17 |
|
\ | No newline at end of file |