Repository navigation
feat: Add JSDoc & generate TypeScript types - #21
FotoVerite wants to merge 4 commits into
Conversation
|
We need to workshop my documentation I'm not completely happy with. Do you also think we should explicitly export path so that the jsdoc can use path and not npath and fpath. |
If you think it'll make things better, you can import the path functions directly like |
|
|
||
| var nFileName = path.basename(npath, path.extname(npath)) + ext; | ||
| var nFilepath = path.join(path.dirname(npath), nFileName); | ||
| var fileName = basename(path, extname(path)) + ext; |
There was a problem hiding this comment.
should we change this to filename not fileName? or should it be filePath.
|
I do think explicit importing has improved readability without sacrificing anything.
|
closes #17