mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
20 lines
406 B
TypeScript
20 lines
406 B
TypeScript
// 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
|
|
};
|