The argument *type* should also be here. *string* in this case. So would be:

`type - (string) The type of event (e.g. 'change').`