mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
Add OSType enum (#1909)
This commit is contained in:
parent
75a500ba81
commit
830ce93785
2 changed files with 9 additions and 2 deletions
|
@ -7,12 +7,19 @@ export interface BuildInfo {
|
|||
arch: "x64";
|
||||
|
||||
/** The operating system platform. */
|
||||
os: "mac" | "win" | "linux";
|
||||
os: OSType;
|
||||
|
||||
/** The GN build arguments */
|
||||
gnArgs: string;
|
||||
}
|
||||
|
||||
/** The operating system platform. */
|
||||
export enum OSType {
|
||||
mac = "mac",
|
||||
win = "win",
|
||||
linux = "linux"
|
||||
}
|
||||
|
||||
// 'build' is injected by rollup.config.js at compile time.
|
||||
export const build: BuildInfo = {
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue