Skip to content

Commit acdcb9c

Browse files
committed
Fix typescript build error
1 parent dc6091d commit acdcb9c

File tree

1 file changed

+1
-1
lines changed
  • packages/tailwindcss-language-service/src/util

1 file changed

+1
-1
lines changed

packages/tailwindcss-language-service/src/util/find.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ export function findHelperFunctionsInRange(
395395
match.groups.helper.length +
396396
match.groups.innerPrefix.length
397397

398-
let helper = 'config'
398+
let helper: 'config' | 'theme' = 'config'
399399

400400
if (match.groups.helper === 'theme' || match.groups.helper === '--theme') {
401401
helper = 'theme'

0 commit comments

Comments
 (0)