Skip to content

Commit

Permalink
fix example for inject storename in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gernsdorfer authored and gernsdorfer committed Jan 16, 2024
1 parent bed85f2 commit dc68813
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class MyStore implements OnDestroy {
constructor(
private storeFactory: StoreFactory,
// import your StoreName
@Optional() @Inject(MyStoreSuffix) private storeName: string
@Optional() @Inject(MyStoreName) private storeName: string
) {}

ngOnDestroy() {
Expand Down

0 comments on commit dc68813

Please sign in to comment.