summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno.ns.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/lib.deno.ns.d.ts')
-rw-r--r--cli/js/lib.deno.ns.d.ts26
1 files changed, 13 insertions, 13 deletions
diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts
index 2f4ec2155..0c6f8ab18 100644
--- a/cli/js/lib.deno.ns.d.ts
+++ b/cli/js/lib.deno.ns.d.ts
@@ -40,7 +40,7 @@ declare namespace Deno {
*
* Deno.test({
* name: "example ignored test",
- * ignore: Deno.build.os === "win"
+ * ignore: Deno.build.os === "windows"
* fn(): void {
* // This test is ignored only on Windows machines
* },
@@ -2365,19 +2365,19 @@ declare namespace Deno {
*/
export function inspect(value: unknown, options?: InspectOptions): string;
- export type OperatingSystem = "mac" | "win" | "linux";
-
- export type Arch = "x64" | "arm64";
-
- interface BuildInfo {
- /** The CPU architecture. */
- arch: Arch;
- /** The operating system. */
- os: OperatingSystem;
- }
-
/** Build related information. */
- export const build: BuildInfo;
+ export const build: {
+ /** The LLVM target triple */
+ target: string;
+ /** Instruction set architecture */
+ arch: "x86_64";
+ /** Operating system */
+ os: "darwin" | "linux" | "windows";
+ /** Computer vendor */
+ vendor: string;
+ /** Optional environment */
+ env?: string;
+ };
interface Version {
deno: string;