Make undefined typings explicit

This commit is contained in:
Willian Mitsuda 2022-02-27 13:22:59 -03:00
parent ddeaf73bf3
commit 7e85f1fcca
1 changed files with 7 additions and 7 deletions

View File

@ -13,13 +13,13 @@ import { Metadata } from "../sourcify/useSourcify";
type DecoratedAddressLinkProps = { type DecoratedAddressLinkProps = {
address: string; address: string;
selectedAddress?: string; selectedAddress?: string | undefined;
addressCtx?: AddressContext; addressCtx?: AddressContext | undefined;
creation?: boolean; creation?: boolean | undefined;
miner?: boolean; miner?: boolean | undefined;
selfDestruct?: boolean; selfDestruct?: boolean | undefined;
txFrom?: boolean; txFrom?: boolean | undefined;
txTo?: boolean; txTo?: boolean | undefined;
metadata?: Metadata | null | undefined; metadata?: Metadata | null | undefined;
}; };