Skip to content

Commit 3b1284b

Browse files
committed
must always return a string
1 parent 76151d4 commit 3b1284b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tailwindcss/src/css-functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { withAlpha } from './utilities'
55
import { segment } from './utils/segment'
66
import * as ValueParser from './value-parser'
77

8-
const functions: Record<string, (designSystem: DesignSystem, ...args: string[]) => any> = {
8+
const functions: Record<string, (designSystem: DesignSystem, ...args: string[]) => string> = {
99
'--alpha': alpha,
1010
'--spacing': spacing,
1111
'--theme': theme,

0 commit comments

Comments
 (0)