Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(schematics): components should inject the store without generic #2512

Merged
merged 1 commit into from
May 8, 2020

Conversation

timdeschryver
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

  • In the component the store is injected with a generic
  • During tests, the store is mocked as any

Closes #

What is the new behavior?

We can just Store without having to provide a generic

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@ngrxbot
Copy link
Collaborator

ngrxbot commented May 5, 2020

Preview docs changes for 5a25266 at https://previews.ngrx.io/pr2512-5a25266/

@brandonroberts brandonroberts merged commit 4f7dcdc into master May 8, 2020
@brandonroberts brandonroberts deleted the pr/schematics-store-generics branch May 8, 2020 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants