Skip to content

Commit a8a8f03

Browse files
committed
use TypeScript instead JSDoc annotations
1 parent b9231ef commit a8a8f03

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/index.ts

+1-7
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ import { normalize } from 'tailwindcss/lib/util/dataTypes'
44
export default plugin(function containerQueries({ matchVariant, theme }) {
55
let values = theme('containers')
66

7-
/**
8-
* @param {string} value
9-
*/
10-
function parseValue(value) {
7+
function parseValue(value: string) {
118
// _ -> space
129
value = normalize(value)
1310

@@ -64,10 +61,7 @@ export default plugin(function containerQueries({ matchVariant, theme }) {
6461
let a = parseValue(aVariant.value)
6562
let b = parseValue(bVariant.value)
6663

67-
/** @type {string} */
6864
let aLabel = aVariant.modifier ?? ''
69-
70-
/** @type {string} */
7165
let bLabel = bVariant.modifier ?? ''
7266

7367
// Put "raw" values at the end

0 commit comments

Comments
 (0)