I have an project that I started using CreateT3App and the default type safety configurations add tailwind.config.cjs to the ts type checker and i get an error from typescript:
/** @type {import('tailwindcss').Config} */
const config = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
},
plugins: [
require("@tailwindcss/forms"), // Don't show any errors
require('@catppuccin/tailwindcss')({ // almost jumps out of my pc and punches me in the face
prefix: 'ctp',
}),
],
};
module.exports = config;
Could not find a declaration file for module '@catppuccin/tailwindcss'. '$PROJECT_ROOT/node_modules/@catppuccin/tailwindcss/plugin.js' implicitly has an 'any' type.
Try 'npm i --save-dev @types/catppuccin__tailwindcss' if it exists or add a new declaration (.d.ts) file containing 'declare module @catppuccin/tailwindcss';
As i obviously tried installing @types/catppuccin__taildwindcss and it didn't even run, here i'm asking for an .d.ts file for type checking purposes.
I have an project that I started using CreateT3App and the default type safety configurations add
tailwind.config.cjs
to the ts type checker and i get an error from typescript:As i obviously tried installing
@types/catppuccin__taildwindcss
and it didn't even run, here i'm asking for an .d.ts file for type checking purposes.