Skip to content

requirePeer

function requirePeer(name, subpath): never;

Defined in: src/storage/contract.ts:28

Helper for adapters whose subpath requires an optional peer dependency. Throws a clear, actionable error when the peer is missing.

Parameter Type
name string
subpath string

never