Documentation / @super-line/core / EnvOf
Type Alias: EnvOf<C, R>
EnvOf<
C,R> =C["roles"][R] extendsobject?InferOut<S> :null
Defined in: packages/core/src/contract.ts:403
The typed shape of conn.env for role R (its env schema, or null when the role declares none).
Type Parameters
C
C extends Contract
R
R extends RoleOf<C>