js/modules/ngrx-store/src/service/ngrx-store-select.ts
crusader bd8104ffe2 ing
2018-03-18 00:03:13 +09:00

12 lines
252 B
TypeScript

import { Injectable } from '@angular/core';
import { Store } from '@ngrx/store';
@Injectable()
export class NgRxStoreSelect {
static store: Store<any> | undefined = undefined;
connect(store: Store<any>) {
NgRxStoreSelect.store = store;
}
}