Skip to content

ByCollection beta ​

TypeAlias of @v12-engine/editor

ts
export type ByCollection<T> = {
    [kind in CollectionId]?: T;
};

Something by kind of thing on the map: the ids a selection holds of each, what a paste made of each, the things themselves. A kind with nothing may be left out