From 8d1f785954c31c7338f70e3a160702f0a6845d45 Mon Sep 17 00:00:00 2001 From: Christian Emmer <10749361+emmercm@users.noreply.github.com> Date: Wed, 24 Jul 2024 21:44:35 -0700 Subject: [PATCH] Refactor: use string values for CHDType enum (#33) --- src/chdman/common.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/chdman/common.ts b/src/chdman/common.ts index 04611f2..fa48b20 100644 --- a/src/chdman/common.ts +++ b/src/chdman/common.ts @@ -13,10 +13,10 @@ export enum CHDCompressionAlgorithm { } export enum CHDType { - RAW = 1, - HARD_DISK, - CD_ROM, - GD_ROM, - DVD_ROM, + RAW = 'RAW', + HARD_DISK = 'HARD_DISK', + CD_ROM = 'CD_ROM', + GD_ROM = 'GD_ROM', + DVD_ROM = 'DVD_ROM', // LASER_DISC, }