We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running this command on an empty NgModule caused two imports properties to be added to the NgModule decorator.
NgModule
imports
Before:
@NgModule({}) export class ContactsModule {}
Generate:
$ ng g ngrx contacts --module=libs/contacts/src/contacts.module.ts
After:
@NgModule({ providers: [ContactsEffects] imports: [StoreModule.forFeature('contacts', contactsReducer, {initialState: contactsInitialState})] imports: [EffectsModule.forFeature([ContactsEffects])] })
The text was updated successfully, but these errors were encountered:
It also didn't add a comma after providers
providers
Sorry, something went wrong.
Duplicate of #9
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
No branches or pull requests
Running this command on an empty
NgModule
caused twoimports
properties to be added to theNgModule
decorator.Before:
Generate:
After:
The text was updated successfully, but these errors were encountered: