{target} : Mouseevnet & {target: HTMLElement}

Enforcing the type of the indexed members of a Typescript object?

interface CoinValueProps{
	text: string;
	value:CoinKeys;
}
interface CointProps{
	[key: string] : CoinValueProps;
}