Skip to content

@ngrx/store: StoreConfig interface missing from exports. #2007

@bhalash

Description

@bhalash

Minimal reproduction of the bug/regression with instructions:

This does not require StackBlitz. It appears to be a simple case of either a missing export or incorrect documentation.

Expected behavior:

In the guide, Using Dependency Injection -> Injecting Feature Config states that you should import StoreConfig:

import { StoreModule, StoreConfig } from '@ngrx/store';

Looking at the source I find that store_module.ts declares the interface, but index.ts in the same folder does not re-export StoreConfig.

Screenshot 2019-07-11 at 12 57 39

Versions of NgRx, Angular, Node, affected browser(s) and operating system(s):

  • NgRx: 8.1.0
  • Angular: 8.1.0

Other information:

I would be willing to submit a PR to fix this issue

[x] Yes (Assistance is provided if you need help submitting a pull request)
[ ] No

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions