1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-14 16:33:45 -05:00
denoland-deno/js/platform.ts

21 lines
406 B
TypeScript
Raw Normal View History

2018-10-04 07:20:14 -04:00
// 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.
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
};