Normalize<Shape, RT>: Shape["typeName"] extends "Subscription"
    ? Exclude<RT, null | undefined>
    : RT

Removes null | undefined from the return type if the operation is a subscription, since subs don't fire on empty/non-existent values.

Type Parameters