pleshevski.ru/modules/work/ChronologicalWorksTable/TechnologyList.ts
Dmitriy Pleshevskiy 406429cbb5
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
move works to the module
2023-06-20 16:30:27 +03:00

7 lines
274 B
TypeScript

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(", "));