X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FConstants.ts;h=c42e15be6e3687f84202f125af61ea966e6ea46a;hb=f911a4af34e676a49f542aec31cbef8075fb65ef;hp=246aa7882e92a2b99b3dc54e074f833f6f9ecc6d;hpb=268a74bb051fcbbad532fd833f0d8fd2b33b6c64;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Constants.ts b/src/utils/Constants.ts index 246aa788..c42e15be 100644 --- a/src/utils/Constants.ts +++ b/src/utils/Constants.ts @@ -47,6 +47,11 @@ export class Constants { static readonly MAX_RANDOM_INTEGER = 281474976710654; + static readonly EMPTY_FREEZED_OBJECT = Object.freeze({}); + static readonly EMPTY_FUNCTION = Object.freeze(() => { + /* This is intentional */ + }); + private constructor() { // This is intentional }