refactor(core): Forbid raw enums (no-changelog)

This commit is contained in:
Michael Kret
2023-04-21 14:23:15 +03:00
committed by GitHub
parent da31925083
commit 0e93fe064e
39 changed files with 119 additions and 115 deletions

View File

@@ -20,21 +20,21 @@ import type { ICreateContactBody } from './ContactInterface';
import { contactFields, contactOperations } from './ContactDescription';
enum Status {
const enum Status {
Open = 2,
Pending = 3,
Resolved = 4,
Closed = 5,
}
enum Priority {
const enum Priority {
Low = 1,
Medium = 2,
High = 3,
Urgent = 4,
}
enum Source {
const enum Source {
Email = 1,
Portal = 2,
Phone = 3,