Skip to content

Commit

Permalink
must always return a string
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Jan 9, 2025
1 parent 82589eb commit 670441a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tailwindcss/src/css-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { withAlpha } from './utilities'
import { segment } from './utils/segment'
import * as ValueParser from './value-parser'

const functions: Record<string, (designSystem: DesignSystem, ...args: string[]) => any> = {
const functions: Record<string, (designSystem: DesignSystem, ...args: string[]) => string> = {
'--alpha': alpha,
'--spacing': spacing,
'--theme': theme,
Expand Down

0 comments on commit 670441a

Please sign in to comment.