X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils.ts;h=809ca38b6bdb17d9f92274bc822543d61bf7a9f4;hb=7cf00f70a6dffca3af737ea9193a6c3be69ac0b7;hp=46ab5051f38ff77eb2fd06c41199bd360b306276;hpb=78cea37e264d5ca527bc42eb056f3b9579a2b2c4;p=poolifier.git diff --git a/src/utils.ts b/src/utils.ts index 46ab5051..809ca38b 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,11 +1,6 @@ /** * An intentional empty function. */ -export const EMPTY_FUNCTION: () => void = () => { +export const EMPTY_FUNCTION: () => void = Object.freeze(() => { /* Intentionally empty */ -} - -/** - * An intentional empty object literal. - */ -export const EMPTY_LITERAL = {} +})