Description
Followed the install instructions
npm install @tailwindcss/forms
Then required the plugin in tailwind.config.js
// tailwind.config.js
module.exports = { // ... plugins: [ require('@tailwindcss/forms'), ] }
But when mousing over the @tailwindcss/forms the following message is displayed:
module "/Users/user/Desktop/Index/git/project/react/node_modules/@tailwindcss/forms/src/index" Could not find a declaration file for module '@tailwindcss/forms'. '/Users/user/Desktop/Index/git/project/react/node_modules/@tailwindcss/forms/src/index.js' implicitly has an 'any' type. Try
npm install @types/tailwindcss__formsif it exists or add a new declaration (.d.ts) file containing
declare module '@tailwindcss/forms';ts(7016)
So far no joy...
PS: I was previously using custom-forms
with the same error. Opened an issue with the same content under that project. Sorry if it is cross posting but I am experiencing the same issue with both packages...