requirePeer
function requirePeer(name, subpath): never;Defined in: src/storage/contract.ts:49
Helper for adapters whose subpath requires an optional peer dependency. Throws a clear, actionable error when the peer is missing.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name |
string |
subpath |
string |
Returns
Section titled “Returns”never