Skip to content

Commit 189008a

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 f96974f commit 189008a

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,24 +35,15 @@ 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
USER_PROVIDED_META_REDUCERS,
5044
} from './tokens';
5145
export {
5246
StoreModule,
5347
StoreRootModule,
5448
StoreFeatureModule,
55-
_initialStateFactory,
56-
_createStoreReducers,
57-
_createFeatureReducers,
5849
} from './store_module';

modules/store/src/tokens.ts

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

0 commit comments

Comments
 (0)