Type alias GetChain<chain, chainOverride>
GetChain<chain, chainOverride>: IsUndefined<chain> extends true ? { chain: chainOverride | null; } : { chain?: chainOverride | null; } Type Parameters
chain extends Chain | undefined
chainOverride extends Chain | undefined = undefined