diff --git a/src/utils/supportLinks.ts b/src/utils/supportLinks.ts index 4b5bdf4ba..d6412fe27 100644 --- a/src/utils/supportLinks.ts +++ b/src/utils/supportLinks.ts @@ -22,4 +22,5 @@ const SUPPORT_LINKS = { type SupportTopic = keyof typeof SUPPORT_LINKS -export const getSupportLink = (topic: SupportTopic) => SUPPORT_LINKS[topic] +export const getSupportLink = (topic: T): typeof SUPPORT_LINKS[T] => + SUPPORT_LINKS[topic]