Put in order · Angular course · Module 10: State Management

createAction syntax

Arrange the createAction call with the action type and props (one line, left to right):

Items to put in order

  • createAction(
  • )
  • '[Samurai] Add',
  • props<{ samurai: Samurai }>()

You can check the correct answer by solving this task in the CodeWorlds game.