import { ContrôleurConstellation as générerContrôleurConstellation, nomType, } from "./cntrlConstellation.js"; export const pathJoin = (...paths: string[]) => paths.join("/").replace(/((?<=\/)\/+)|(^\.\/)|((?<=\/)\.\/)/g, "") || "."; type ContrôleurConstellation = Awaited< ReturnType> >; export const estUnContrôleurConstellation = ( x: unknown, ): x is ContrôleurConstellation => { return (x as ContrôleurConstellation).type === nomType; };