diff options
| author | Vincent LE GOFF <g_n_s@hotmail.fr> | 2019-03-14 15:24:54 +0100 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-14 10:24:54 -0400 |
| commit | 0b4f73cf9d6e7674c76126fc9d37defb58e7a433 (patch) | |
| tree | a7f47f908cf81ea36771b537fe043d3ed17bfc34 /fs/empty_dir.ts | |
| parent | a391660d2d539e3ca71418604e34df6c50dd6502 (diff) | |
Improve jsdoc (denoland/deno_std#277)
Original: https://github.com/denoland/deno_std/commit/1805c18ac7ed3aa6727f509ee2ec55f718ff2f61
Diffstat (limited to 'fs/empty_dir.ts')
| -rw-r--r-- | fs/empty_dir.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/empty_dir.ts b/fs/empty_dir.ts index 2ca9efb0c..72f5f9f51 100644 --- a/fs/empty_dir.ts +++ b/fs/empty_dir.ts @@ -4,9 +4,6 @@ * Deletes directory contents if the directory is not empty. * If the directory does not exist, it is created. * The directory itself is not deleted. - * @export - * @param {string} dir - * @returns {Promise<void>} */ export async function emptyDir(dir: string): Promise<void> { let items: Deno.FileInfo[] = []; @@ -30,9 +27,6 @@ export async function emptyDir(dir: string): Promise<void> { * Deletes directory contents if the directory is not empty. * If the directory does not exist, it is created. * The directory itself is not deleted. - * @export - * @param {string} dir - * @returns {void} */ export function emptyDirSync(dir: string): void { let items: Deno.FileInfo[] = []; |
