1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00
denoland-deno/js/platform.ts
2019-01-21 13:03:30 -06:00

18 lines
468 B
TypeScript

// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
// Do not add unsupported platforms.
export interface Platform {
/** The operating system CPU architecture. */
arch: "x64";
/** The operating system platform. */
os: "mac" | "win" | "linux";
}
// 'platform' is injected by rollup.config.js at compile time.
export const platform: Platform = {
// tslint:disable:no-any
arch: "" as any,
os: "" as any
// tslint:disable:any
};