-'use strict';
-
/*
* Components store data. Nothing to say here really, just
* inherit and add a prototype, or don't even inherit, see?
* components can be any class whatsoever.
*/
-const Component = class Component {
+export class Component {
constructor(config) {
Object.assign(this, config);
}
-};
-
-module.exports = Component;
+}