refactor: freeze empty function type
[poolifier.git] / src / utils.ts
1 /**
2 * An intentional empty function.
3 */
4 export const EMPTY_FUNCTION: () => void = Object.freeze(() => {
5 /* Intentionally empty */
6 })
7
8 /**
9 * An intentional empty object literal.
10 */
11 export const EMPTY_OBJECT_LITERAL = {}