We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9231ef commit a8a8f03Copy full SHA for a8a8f03
src/index.ts
@@ -4,10 +4,7 @@ import { normalize } from 'tailwindcss/lib/util/dataTypes'
4
export default plugin(function containerQueries({ matchVariant, theme }) {
5
let values = theme('containers')
6
7
- /**
8
- * @param {string} value
9
- */
10
- function parseValue(value) {
+ function parseValue(value: string) {
11
// _ -> space
12
value = normalize(value)
13
@@ -64,10 +61,7 @@ export default plugin(function containerQueries({ matchVariant, theme }) {
64
61
let a = parseValue(aVariant.value)
65
62
let b = parseValue(bVariant.value)
66
63
67
- /** @type {string} */
68
let aLabel = aVariant.modifier ?? ''
69
-
70
71
let bLabel = bVariant.modifier ?? ''
72
73
// Put "raw" values at the end
0 commit comments