Skip to content

Export "internal" types #5076

@LoaderB0T

Description

@LoaderB0T

Which @ngrx/* package(s) are the source of the bug?

store

Minimal reproduction of the bug/regression with instructions

Hiya, in v20 some of the internally declared types (notably in our case SelectSignalOptions from @ngrx/store and MemoizedEntitySelectors from @ngrx/entity) were importable from @ngrx/store/src/models and @ngrx/entity/src/models respectively. In v21 these (already workaroundy) imports are not available anymore.

We use these types to extend the functionality of the store with our own helpers, types, and extensions for internal use. We would appreciate it if all types were exported somewhere in all ngrx packages for this exact use case. To build upon the store and make it fit our use cases.

Thanks.

Expected behavior

Types used as parameters or return values of exported functions or classes should be exported aswell.

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

NgRx: 21.0.1

Other information

No response

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

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions