Minor cleanup.

This commit is contained in:
baldo 2022-08-23 15:14:52 +02:00
parent 2cbdc92ef1
commit e403e9858d
2 changed files with 1 additions and 4 deletions

View file

@ -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;

View file

@ -115,6 +115,3 @@ const CONSTRAINTS = {
};
export default CONSTRAINTS;
// TODO: Remove after refactoring.
module.exports = CONSTRAINTS;