Skip to content

Commit

Permalink
refactor(Store): don't export internal functions and tokens (#1679)
Browse files Browse the repository at this point in the history
Closes #1657 

BREAKING CHANGE:

Internal functions and tokens are removed from the public API
  • Loading branch information
timdeschryver authored and brandonroberts committed Apr 1, 2019
1 parent f96974f commit 0446a15
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions modules/store/src/index.ts
Expand Up @@ -35,24 +35,15 @@ export {
export { State, StateObservable, reduceState } from './state';
export {
INITIAL_STATE,
_REDUCER_FACTORY,
REDUCER_FACTORY,
_INITIAL_REDUCERS,
INITIAL_REDUCERS,
STORE_FEATURES,
_INITIAL_STATE,
META_REDUCERS,
_STORE_REDUCERS,
_FEATURE_REDUCERS,
FEATURE_REDUCERS,
_FEATURE_REDUCERS_TOKEN,
USER_PROVIDED_META_REDUCERS,
} from './tokens';
export {
StoreModule,
StoreRootModule,
StoreFeatureModule,
_initialStateFactory,
_createStoreReducers,
_createFeatureReducers,
} from './store_module';
2 changes: 1 addition & 1 deletion modules/store/src/tokens.ts
Expand Up @@ -9,7 +9,7 @@ export const REDUCER_FACTORY = new InjectionToken(
'@ngrx/store Reducer Factory'
);
export const _REDUCER_FACTORY = new InjectionToken(
'@ngrx/store Reducer Factory Provider'
'@ngrx/store Internal Reducer Factory Provider'
);
export const INITIAL_REDUCERS = new InjectionToken(
'@ngrx/store Initial Reducers'
Expand Down

0 comments on commit 0446a15

Please sign in to comment.