Angular NgRx Create Action with Props

    0

    0

    Jose Romero

    Angular TypeScript Recipes

    The code exports an action that can be used to create an event. The action has a key property that is of type object.

    Library: angular

    Shortcut: angular.ngrx.action.create.props

    export const action = createAction('[Source] Event', props<{key: type}>());
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.