From 1627485d6ab063af4fca7e6aee438d83bccc3a93 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Sat, 16 May 2020 21:27:27 -0400 Subject: [PATCH] typings --- utils/fs.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/fs.js b/utils/fs.js index 43e018cb..b4cbee1c 100644 --- a/utils/fs.js +++ b/utils/fs.js @@ -2,6 +2,9 @@ const { promisify } = require("util"); const FS = require("fs"); module.exports = { + /** + * @param {string} path + */ access: path => new Promise(resolve => { FS.access(path, FS.constants.F_OK, err => {