diff --git a/packages/rest/src/lib/RequestManager.ts b/packages/rest/src/lib/RequestManager.ts index 364072130..480aa33bb 100644 --- a/packages/rest/src/lib/RequestManager.ts +++ b/packages/rest/src/lib/RequestManager.ts @@ -113,7 +113,7 @@ export interface RequestHeaders { /** * Possible API methods to be used when doing requests */ -export const enum RequestMethod { +export enum RequestMethod { Delete = 'DELETE', Get = 'GET', Patch = 'PATCH', diff --git a/packages/rest/src/lib/utils/constants.ts b/packages/rest/src/lib/utils/constants.ts index 03381c70e..aada602fb 100644 --- a/packages/rest/src/lib/utils/constants.ts +++ b/packages/rest/src/lib/utils/constants.ts @@ -34,7 +34,7 @@ export const DefaultRestOptions = { /** * The events that the REST manager emits */ -export const enum RESTEvents { +export enum RESTEvents { Debug = 'restDebug', HandlerSweep = 'handlerSweep', HashSweep = 'hashSweep', diff --git a/tsconfig.json b/tsconfig.json index 353b71229..90895f984 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -28,7 +28,6 @@ "newLine": "lf", "noEmitHelpers": true, "outDir": "dist", - "preserveConstEnums": true, "removeComments": false, "sourceMap": true, "esModuleInterop": true,