effect-tea-persistent
    Preparing search index...
    TypesOf: P extends Program<infer T, string>
        ? T
        : P extends Reference<infer T, string> ? T : never

    The types of P, a program or a reference to one, which Handle, Rehearsal and Published take: Handle<TypesOf<typeof p>>, and TypesOf<typeof p>['inbound'] for its inbound messages (decision 0188). Any other type gives never.

    Type Parameters

    • P