assetGroup = (children, assets) => {
	let size = 0;
	for (const asset of children) {
		size += asset.size;
	}
	return { size };
}
@template {{ size: number }} T
@template {{ size: number }} R
@param {(R | T)[]} children children
@param {T[]} assets assets
@returns {{ size: number }} asset size