avocado-old/packages/behavior/item/action.js

17 lines
212 B
JavaScript
Raw Normal View History

2019-03-17 23:45:48 -05:00
import {Traversal} from './traversal';
export class Action extends Traversal {
2019-04-09 09:37:47 -05:00
2019-05-05 04:26:35 -05:00
static type() {
return 'action';
}
2019-03-17 23:45:48 -05:00
toJSON() {
return {
...super.toJSON(),
type: 'action',
};
}
2019-05-05 04:26:35 -05:00
2019-03-17 23:45:48 -05:00
}