Minor cleanup.
This commit is contained in:
parent
2cbdc92ef1
commit
e403e9858d
2 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -115,6 +115,3 @@ const CONSTRAINTS = {
|
|||
};
|
||||
|
||||
export default CONSTRAINTS;
|
||||
|
||||
// TODO: Remove after refactoring.
|
||||
module.exports = CONSTRAINTS;
|
||||
|
|
Loading…
Reference in a new issue