fix(cli): typings for Deno.os.arch (#10541)

This commit is contained in:
Elias Sjögreen 2021-05-10 22:12:42 +02:00 committed by GitHub
parent ce48b32979
commit f12b82e183
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -2285,7 +2285,7 @@ declare namespace Deno {
/** The LLVM target triple */
target: string;
/** Instruction set architecture */
arch: "x86_64";
arch: "x86_64" | "aarch64";
/** Operating system */
os: "darwin" | "linux" | "windows";
/** Computer vendor */

View file

@ -4675,7 +4675,7 @@ mod tests {
json!({
"label": "build",
"kind": 6,
"detail": "const Deno.build: {\n target: string;\n arch: \"x86_64\";\n os: \"darwin\" | \"linux\" | \"windows\";\n vendor: string;\n env?: string | undefined;\n}",
"detail": "const Deno.build: {\n target: string;\n arch: \"x86_64\" | \"aarch64\";\n os: \"darwin\" | \"linux\" | \"windows\";\n vendor: string;\n env?: string | undefined;\n}",
"documentation": {
"kind": "markdown",
"value": "Build related information."