@ace-fetch/uni-app
Version:
uni-app adapter for @ace-fetch/core.
12 lines (11 loc) • 441 B
TypeScript
import { RequestConfig } from '@ace-fetch/core';
/**
* Config-specific merge-function which creates a new config-object
* by merging two configuration objects together.
*
* @param {Object} config1
* @param {Object} config2
*
* @returns {Object} New object resulting from merging config2 to config1
*/
export declare function mergeConfig(config1: Partial<RequestConfig>, config2: Partial<RequestConfig>): Partial<RequestConfig<any>>;