From f1272ca2c8a066bb0b0f4ceae5c45f09fe9a1347 Mon Sep 17 00:00:00 2001 From: Mathis Date: Tue, 30 Apr 2024 12:35:27 +0200 Subject: [PATCH] refactor(interfaces): remove unnecessary quotes in ErrorType enum Removed unnecessary quotes from the keys of the `ErrorType` enum in the `ISError.ts` file, making the code more readable and conforming to TypeScript's best practices. Signed-off-by: Mathis --- src/interfaces/services/ISError.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/interfaces/services/ISError.ts b/src/interfaces/services/ISError.ts index 94cc46e..858c8a2 100644 --- a/src/interfaces/services/ISError.ts +++ b/src/interfaces/services/ISError.ts @@ -15,11 +15,11 @@ export interface ISError { * @enum {number} */ export enum ErrorType { - 'InvalidData' = 0, - 'DatabaseError' = 1, - 'ServiceError' = 2, - 'NotFound' = 3, - 'PasswordInvalid' = 4, - 'UnAuthorized' = 5, - 'UnexpectedError' = 6 -} \ No newline at end of file + InvalidData = 0, + DatabaseError = 1, + ServiceError = 2, + NotFound = 3, + PasswordInvalid = 4, + UnAuthorized = 5, + UnexpectedError = 6, +}