Helper to type the registered scoped bridge correctly.

FIXME: This is needed because register is not an async function, so E(x).register needs to reconstruct its return value as a Promise, which loses the function's genericity. If register was async, we could use its type directly, and it would remain generic.