File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */
1919function 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 */
3737function getOS ( os : NodeJS . Platform ) {
3838 return PLATFORM [ os as keyof typeof PLATFORM ] || os ;
You can’t perform that action at this time.
0 commit comments