fix: type smear

This commit is contained in:
cha0s 2021-01-29 15:20:26 -06:00
parent bad8b199dc
commit 9fd6fcf8a6

View File

@ -196,12 +196,7 @@ export default (latus) => class Entity extends decorate(JsonResource) {
type: 'entity',
},
),
)
.map(([key, items]) => [
key,
Object.fromEntries(Object.entries(items)
.sort(([l], [r]) => (l < r ? -1 : 1))),
]),
),
);
}