diff --git a/server/shared/utils/strings.ts b/server/shared/utils/strings.ts index f41bf9f..b1fb991 100644 --- a/server/shared/utils/strings.ts +++ b/server/shared/utils/strings.ts @@ -1,4 +1,4 @@ -import {isString, MAC} from "../types"; +import {isString, type MAC} from "../types"; export function normalizeString(str: string): string { return isString(str) ? str.trim().replace(/\s+/g, ' ') : str; diff --git a/server/shared/validation/constraints.ts b/server/shared/validation/constraints.ts index 83604c6..ce0ad40 100644 --- a/server/shared/validation/constraints.ts +++ b/server/shared/validation/constraints.ts @@ -115,6 +115,3 @@ const CONSTRAINTS = { }; export default CONSTRAINTS; - -// TODO: Remove after refactoring. -module.exports = CONSTRAINTS;