requirePeer
function requirePeer(name, subpath): never;Defined in: src/internal/peer.ts:11
Throw a clear, actionable error for a missing optional peer. The message names the package to install (what the user needs) and the kit subpath that asked for it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name |
string |
subpath |
string |
Returns
Section titled “Returns”never