diff options
Diffstat (limited to 'js/types.ts')
-rw-r--r-- | js/types.ts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/js/types.ts b/js/types.ts index 7af0a5201..7a7bc44d9 100644 --- a/js/types.ts +++ b/js/types.ts @@ -151,3 +151,29 @@ declare global { stackTraceLimit: number; } } + +// 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"; |