brocamp/LeetCode_Tracker

feat: add Typescript support for `Tailwind`

Closed this issue · 0 comments

Now Tailwind-CSS supports the usage of a config file as TypeScript file
https://github.com/brocamp/LeetCode_Tracker/blob/2eea8342f34626985372343d491f66184b9c10ac/frontend/tailwind.config.js
tailwind.config.ts

import type { Config } from 'tailwindcss'

export default {
  content: [
    "./index.html",
    "./src/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
} satisfies Config