lib: path.ts #23

Open
opened 2025-08-11 21:15:47 -07:00 by clo · 0 comments
Owner

repeated path.join( is anoying

would be interesting to have some sort of object

const hello = path.resolve("."); // -> path.Path
const file = hello.join("something.ts"); // path.Path
fs.readFileSync(file); // string changed to path.Resolvable aka string|path.Path
repeated `path.join(` is anoying would be interesting to have some sort of object ```ts const hello = path.resolve("."); // -> path.Path const file = hello.join("something.ts"); // path.Path fs.readFileSync(file); // string changed to path.Resolvable aka string|path.Path ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clo/sitegen#23
No description provided.