1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

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 */ /** The LLVM target triple */
target: string; target: string;
/** Instruction set architecture */ /** Instruction set architecture */
arch: "x86_64"; arch: "x86_64" | "aarch64";
/** Operating system */ /** Operating system */
os: "darwin" | "linux" | "windows"; os: "darwin" | "linux" | "windows";
/** Computer vendor */ /** Computer vendor */

View file

@ -4675,7 +4675,7 @@ mod tests {
json!({ json!({
"label": "build", "label": "build",
"kind": 6, "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": { "documentation": {
"kind": "markdown", "kind": "markdown",
"value": "Build related information." "value": "Build related information."