diff --git a/projects/example-app/src/app/auth/reducers/index.ts b/projects/example-app/src/app/auth/reducers/index.ts index 310af0186e..73c4a167ac 100644 --- a/projects/example-app/src/app/auth/reducers/index.ts +++ b/projects/example-app/src/app/auth/reducers/index.ts @@ -32,7 +32,7 @@ export const selectAuthState = createFeatureSelector( export const selectAuthStatusState = createSelector( selectAuthState, - (state: AuthState) => state[fromAuth.statusFeatureKey] + state => state[fromAuth.statusFeatureKey] ); export const selectUser = createSelector( selectAuthStatusState, @@ -42,7 +42,7 @@ export const selectLoggedIn = createSelector(selectUser, user => !!user); export const selectLoginPageState = createSelector( selectAuthState, - (state: AuthState) => state[fromLoginPage.loginPageFeatureKey] + state => state[fromLoginPage.loginPageFeatureKey] ); export const selectLoginPageError = createSelector( selectLoginPageState, diff --git a/projects/example-app/src/app/books/reducers/index.ts b/projects/example-app/src/app/books/reducers/index.ts index 9ccb84d5b1..5bbff19a1f 100644 --- a/projects/example-app/src/app/books/reducers/index.ts +++ b/projects/example-app/src/app/books/reducers/index.ts @@ -103,7 +103,7 @@ export const selectSelectedBook = createSelector( */ export const selectSearchState = createSelector( selectBooksState, - (state: BooksState) => state[fromSearch.searchFeatureKey] + state => state[fromSearch.searchFeatureKey] ); export const selectSearchBookIds = createSelector( @@ -139,7 +139,7 @@ export const selectSearchResults = createSelector( export const selectCollectionState = createSelector( selectBooksState, - (state: BooksState) => state[fromCollection.collectionFeatureKey] + state => state[fromCollection.collectionFeatureKey] ); export const selectCollectionLoaded = createSelector(