summaryrefslogtreecommitdiff
path: root/js/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/types.ts')
-rw-r--r--js/types.ts30
1 files changed, 5 insertions, 25 deletions
diff --git a/js/types.ts b/js/types.ts
index 7a7bc44d9..3ef8f81e5 100644
--- a/js/types.ts
+++ b/js/types.ts
@@ -152,28 +152,8 @@ declare global {
}
}
-// Based on Node's arch
-export type DenoArch =
- | "arm"
- | "arm64"
- | "ia32"
- | "mips"
- | "mipsel"
- | "ppc"
- | "ppc64"
- | "s390"
- | "s390x"
- | "x32"
- | "x64"
- | "unknown";
-
-export type DenoPlatform =
- | "aix"
- | "darwin"
- | "freebsd"
- | "linux"
- | "openbsd"
- | "sunos"
- | "win32"
- | "android"
- | "unknown";
+// Do not add unsupported platforms.
+export interface Platform {
+ arch?: "x64";
+ os?: "mac" | "win" | "linux";
+}