But when mousing over the @tailwindcss/custom-forms the following message is displayed:
module "/Users/user/Desktop/Index/git/project/react/node_modules/@tailwindcss/custom-forms/src/index" Could not find a declaration file for module '@tailwindcss/custom-forms'. '/Users/user/Desktop/Index/git/project/react/node_modules/@tailwindcss/custom-forms/src/index.js' implicitly has an 'any' type. Trynpm install @types/tailwindcss__custom-formsif it exists or add a new declaration (.d.ts) file containingdeclare module '@tailwindcss/custom-forms';ts(7016)
I've done a few searches and attempted to install as npm install @types/tailwindcss/custom-forms --save-dev
Followed the install instructions
npm install @tailwindcss/custom-forms --save-dev
Then required the plugin in tailwind.config.js
// tailwind.config.js
module.exports = { // ... plugins: [ require('@tailwindcss/custom-forms'), ] }
But when mousing over the @tailwindcss/custom-forms the following message is displayed:
module "/Users/user/Desktop/Index/git/project/react/node_modules/@tailwindcss/custom-forms/src/index" Could not find a declaration file for module '@tailwindcss/custom-forms'. '/Users/user/Desktop/Index/git/project/react/node_modules/@tailwindcss/custom-forms/src/index.js' implicitly has an 'any' type. Try
npm install @types/tailwindcss__custom-formsif it exists or add a new declaration (.d.ts) file containing
declare module '@tailwindcss/custom-forms';ts(7016)
I've done a few searches and attempted to install as
npm install @types/tailwindcss/custom-forms --save-dev
But no joy...