/** * Shorthand for calling `addInteractionReducer` on an `Interactions`. * * For example: * * class Todos extends Interactions { * initialState = [] * * @reducer * add(state, text, completed = false) { * return [...state, {text, completed}]; * } * } * */ export default function reducer(target: any, key?: string, descriptor?: PropertyDescriptor): any;