The variable interest in
netlify/functions/newsletter_subscription.ts
and for github_discussion
is currently treated as any. This causes a TypeScript error when it is used to index config.interests, which has a strict type definition and also for err.
Error Message:Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ Newsletter: string; Meetings: string; "TSC Voting": string; }'.ts(7053)