@beignet/core
Version:
Core framework primitives for Beignet
10 lines • 311 B
JavaScript
/**
* Resolve a contract builder or plain config to the underlying contract config.
*
* @param c - The contract-like object to resolve
* @returns The underlying HttpContractConfig
*/
export function resolveContract(c) {
return ("config" in c ? c.config : c);
}
//# sourceMappingURL=contract-like.js.map