your recipe card header background

    NgRx Create Action w/ Props




    Angular snippets for TypeScript

    The code exports a function called action with the given name. In this case, the action function takes an object literal with the type key set to "Event".

    Library: angular

    Shortcut: a_ngrx_create_action_props

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

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.