Skip to content

Aggregate commands in separate files

Trym Skaar edited this page Feb 24, 2018 · 1 revision
import {Aggregate} from 'ddbes'
import * as commands from './commands'

class MyAggregate extends Aggregate {
  // ...
}

Object.assign(MyAggregate.prototype, commands)

export default MyAggregate