Function defineConstants

  • Shortcut for Object.defineProperties

    Type Parameters

    • T
    • P extends Record<string, any>

    Parameters

    Returns Readonly<P> & T

    target