diff options
author | 迷渡 <justjavac@gmail.com> | 2019-04-03 20:53:54 +0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-03 08:53:54 -0400 |
commit | 8c8576619852ee8b8095ca735f6d517a7e707e79 (patch) | |
tree | dea55fb15538b154c5324da7f7aed610ef2dab36 /js/dir.ts | |
parent | bb617d24781d7c1e67e8e825cc07faba9a5df075 (diff) |
fix JSDoc (#2043)
Diffstat (limited to 'js/dir.ts')
-rw-r--r-- | js/dir.ts | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5,11 +5,11 @@ import * as flatbuffers from "./flatbuffers"; import { sendSync } from "./dispatch"; /** - * cwd() Return a string representing the current working directory. + * `cwd()` Return a string representing the current working directory. * If the current directory can be reached via multiple paths - * (due to symbolic links), cwd() may return + * (due to symbolic links), `cwd()` may return * any one of them. - * throws NotFound exception if directory not available + * throws `NotFound` exception if directory not available */ export function cwd(): string { const builder = flatbuffers.createBuilder(); @@ -24,8 +24,8 @@ export function cwd(): string { } /** - * chdir() Change the current working directory to path. - * throws NotFound exception if directory not available + * `chdir()` Change the current working directory to path. + * throws `NotFound` exception if directory not available */ export function chdir(directory: string): void { const builder = flatbuffers.createBuilder(); |