X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils.ts;h=809ca38b6bdb17d9f92274bc822543d61bf7a9f4;hb=ffcbbad84f63b8a77f2b1a08f82deef5430f646e;hp=b1521c4cdfbddc0fda6b6b13293e51b082396692;hpb=6e9d10db05ac2bbc85373195a5c885d2492fee61;p=poolifier.git diff --git a/src/utils.ts b/src/utils.ts index b1521c4c..809ca38b 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,6 +1,6 @@ /** * An intentional empty function. */ -export const EMPTY_FUNCTION: () => void = () => { +export const EMPTY_FUNCTION: () => void = Object.freeze(() => { /* Intentionally empty */ -} +})