type

Deprecated

Use actionType instead.

Replace with

actionType.value