Skip to content

Commit 4b27b6d

Browse files
brandonrobertsMikeRyanDev
authored andcommitted
fix(Store): Exported initial state tokens (#65)
1 parent 1a166ec commit 4b27b6d

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

modules/store/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ export { ReducerManager, ReducerObservable, ReducerManagerDispatcher, UPDATE } f
77
export { ScannedActionsSubject } from './scanned_actions_subject';
88
export { createSelector, createFeatureSelector, MemoizedSelector } from './selector';
99
export { State, StateObservable, reduceState } from './state';
10-
export { INITIAL_STATE, REDUCER_FACTORY, INITIAL_REDUCERS, STORE_FEATURES } from './tokens';
11-
export { StoreRootModule, StoreFeatureModule } from './store_module';
10+
export { INITIAL_STATE, REDUCER_FACTORY, INITIAL_REDUCERS, STORE_FEATURES, _INITIAL_STATE } from './tokens';
11+
export { StoreRootModule, StoreFeatureModule, _initialStateFactory } from './store_module';

modules/store/src/store_module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ export class StoreModule {
7070
}
7171
}
7272

73-
/** @internal */
7473
export function _initialStateFactory(initialState: any): any {
7574
if (typeof initialState === 'function') {
7675
return initialState();

modules/store/src/tokens.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { OpaqueToken } from '@angular/core';
22

3-
/** @internal */
43
export const _INITIAL_STATE = new OpaqueToken('_ngrx/store Initial State');
54
export const INITIAL_STATE = new OpaqueToken('@ngrx/store Initial State');
65
export const REDUCER_FACTORY = new OpaqueToken('@ngrx/store Reducer Factory');

0 commit comments

Comments
 (0)