Skip to content

Commit 4bf5e7c

Browse files
committed
refactor(Store): don't export internal functions and tokens
BREAKING CHANGE: Internal functions and tokens are removed from the public API
1 parent 38290ba commit 4bf5e7c

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

modules/store/src/index.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,14 @@ export {
3535
export { State, StateObservable, reduceState } from './state';
3636
export {
3737
INITIAL_STATE,
38-
_REDUCER_FACTORY,
3938
REDUCER_FACTORY,
40-
_INITIAL_REDUCERS,
4139
INITIAL_REDUCERS,
4240
STORE_FEATURES,
43-
_INITIAL_STATE,
4441
META_REDUCERS,
45-
_STORE_REDUCERS,
46-
_FEATURE_REDUCERS,
4742
FEATURE_REDUCERS,
48-
_FEATURE_REDUCERS_TOKEN,
4943
} from './tokens';
5044
export {
5145
StoreModule,
5246
StoreRootModule,
5347
StoreFeatureModule,
54-
_initialStateFactory,
55-
_createStoreReducers,
56-
_createFeatureReducers,
5748
} from './store_module';

modules/store/src/tokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const REDUCER_FACTORY = new InjectionToken(
88
'@ngrx/store Reducer Factory'
99
);
1010
export const _REDUCER_FACTORY = new InjectionToken(
11-
'@ngrx/store Reducer Factory Provider'
11+
'@ngrx/store Internal Reducer Factory Provider'
1212
);
1313
export const INITIAL_REDUCERS = new InjectionToken(
1414
'@ngrx/store Initial Reducers'

0 commit comments

Comments
 (0)