1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 23:59:59 -05:00
denoland-deno/js/platform.ts

19 lines
468 B
TypeScript
Raw Normal View History

2019-01-21 14:03:30 -05:00
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
2018-10-19 15:25:29 -04:00
2018-10-04 07:20:14 -04:00
// Do not add unsupported platforms.
export interface Platform {
2018-10-14 16:29:50 -04:00
/** The operating system CPU architecture. */
2018-10-04 07:20:14 -04:00
arch: "x64";
2018-10-14 16:29:50 -04:00
/** The operating system platform. */
2018-10-04 07:20:14 -04:00
os: "mac" | "win" | "linux";
}
// 'platform' is injected by rollup.config.js at compile time.
2018-10-04 07:20:14 -04:00
export const platform: Platform = {
// tslint:disable:no-any
arch: "" as any,
os: "" as any
// tslint:disable:any
};