Skip to content

Commit 9f5a6cf

Browse files
docs(utils): fix JSDoc
1 parent b2e0be1 commit 9f5a6cf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const ARCHITECTURE = {
1313
*
1414
* @see {@link https://nodejs.org/api/os.html#os_os_arch}
1515
*
16-
* @param arch - Arch in [arm, x32, x64...]
17-
* @returns - Return value in [amd64, 386, arm]
16+
* @param arch - Arch in [arm, arm64, x32, x64...]
17+
* @returns - Return value in [arm, arm64, 386, amd64]
1818
*/
1919
function getArch(arch: NodeJS.Architecture) {
2020
return ARCHITECTURE[arch as keyof typeof ARCHITECTURE] || arch;
@@ -32,7 +32,7 @@ const PLATFORM = {
3232
* @see {@link https://nodejs.org/api/os.html#os_os_platform}
3333
*
3434
* @param os - OS in [darwin, linux, win32...]
35-
* @returns - Return value in [darwin, linux, windows]
35+
* @returns - Return value in [macOS, linux, windows]
3636
*/
3737
function getOS(os: NodeJS.Platform) {
3838
return PLATFORM[os as keyof typeof PLATFORM] || os;

0 commit comments

Comments
 (0)