mirror of
https://github.com/denoland/deno.git
synced 2024-10-29 08:58:01 -04:00
fix(cli): typings for Deno.os.arch
(#10541)
This commit is contained in:
parent
ce48b32979
commit
f12b82e183
2 changed files with 2 additions and 2 deletions
2
cli/dts/lib.deno.ns.d.ts
vendored
2
cli/dts/lib.deno.ns.d.ts
vendored
|
@ -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 */
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue