From 773496ba74494f4629bc321e2c8b822a07f0f4a0 Mon Sep 17 00:00:00 2001 From: Izik Lisbon Date: Tue, 23 Jan 2018 16:38:23 -0800 Subject: [PATCH] make enum a const. --- index.d.ts | 4 ++-- src/types.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.d.ts b/index.d.ts index 168aee3..6fde56a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -8,7 +8,7 @@ export declare class ExtractError extends Error { export type ProfileType = "adhoc" | "enterprise" | "other"; -export enum OperatingSystem { +export declare const enum OperatingSystem { iOS, Android, Windows @@ -45,7 +45,7 @@ export interface IPackageMetadata { hasProvisioning: boolean; } -export interface IpaMetadata extends IPackageMetadata { +export interface IIpaMetadata extends IPackageMetadata { /** The IPA's provisioning profile. */ provision: IProvisioningProfile; diff --git a/src/types.ts b/src/types.ts index fdecd1a..96c14c4 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,5 +1,5 @@ export type ProfileType = "adhoc" | "enterprise" | "other"; -export enum OperatingSystem { +export const enum OperatingSystem { iOS, Android, Windows