feat: baseClass

This commit is contained in:
cha0s 2020-06-15 23:07:53 -05:00
parent 98d203cc46
commit 37eb88ffba
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ export {
mergeDiffPrimitive,
} from './merge-diff';
export {
baseClass,
map as mapObject,
} from './object';
export {PropertyMixin as Property} from './property';

View File

@ -1,3 +1,5 @@
export const baseClass = class {};
export function map(O, fn) {
const keys = Object.keys(O);
const result = {};