gatsby-plugin-mailchimp
gatsby-plugin-mailchimp copied to clipboard
can't locate the addToMailChimp function on import
I'm importing as in the instructions:
import addToMailChimp from 'gatsby-plugin-mailchimp'
but this error is being highlighted:
Could not find a declaration file for module 'gatsby-plugin-mailchimp'. 'C:/Users/jakeb/CompoundingSense-Website/node_modules/gatsby-plugin-mailchimp/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/gatsby-plugin-mailchimp
if it exists or add a new declaration (.d.ts) file containing declare module 'gatsby-plugin-mailchimp';
ts(7016)
It seems like you have typescript setup in your project. But this library doesn't have types.
So.. skip this error.