T

MetroModuleByProps

The module findByProps returns for the props K: the one Discord module exposing them all, or the union of several. never when none does, or when every prop is too common to narrow the match.

type MetroModuleByProps<K> = KeysExposingAll<K> extends infer Keys ? string extends Keys ? never : LooseModule<DiscordModules[Extract<Keys, MetroModuleKey>]> : never