pleshevski.ru/old/modules/work/ChronologicalWorksTable/TechnologyList.ts

8 lines
274 B
TypeScript
Raw Normal View History

2023-06-20 16:30:27 +03:00
import { NonEmptyArray } from "../../../global.ts";
import { Technology } from "../domain/mod.ts";
import { AnyNode, TextNode } from "ren/node.ts";
export const TechnologyList: (techs: NonEmptyArray<Technology>) => AnyNode = (
techs,
) => new TextNode(techs.join(", "));