Skip to content

Commit

Permalink
Fix: The variable value does not hint false type
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Jun 14, 2024
1 parent dc45237 commit 10dc76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export {
modes
}

export type VariableValue = number | string | Array<number | string>
export type VariableValue = number | string | false | Array<number | string>
export type VariableDefinition = { [key in '' | `@${string}` | string]?: VariableValue | VariableDefinition } | VariableValue
export type CSSKeyframes = { [key in 'from' | 'to' | string]: PropertiesHyphen }
export type AnimationDefinitions = { [key: string]: CSSKeyframes }
Expand Down

0 comments on commit 10dc76b

Please sign in to comment.