Skip to content
#

ngrx

Here are 1,118 public repositories matching this topic...

platform

A complete Angular 6 and Webpack 4 starter seed with minimal and full featured branches. Full featured branch includes: Material Design 2 (Bootstrap 4 branch available as well), @ngrx, HMR, DLLs and optional use of Universal for server-side rendering - Supports AOT (offline) compilation, sync and lazy loading. Karma/Protractor for e2e/unit tests.

  • Updated Aug 10, 2021
  • TypeScript
deox
sanbornhilland
sanbornhilland commented Jun 10, 2021

Are you open to adding a Payload utility type? I think the following would be fairly useful:

const action = createActionCreator(
	'FOO',
	resolve => (foo: string) => resolve({ foo }),
)

// Get the payload type of this action
const FooPayload = Payload<typeof action>

Essentially I think you can do something like this but it would be better to make it generic.

ty

Improve this page

Add a description, image, and links to the ngrx topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ngrx topic, visit your repo's landing page and select "manage topics."

Learn more