• Set the specified user preference.

    Parameters

    • key: string

      The key of the preference to be updated.

    • value: SetStateValue<undefined | string>

      new value or value update handler. If the value or the result of the handler is undefined, the preference should be removed.

    Returns void

Generated using TypeDoc