Skip to content

Commit

Permalink
Clean up types
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBoll committed Oct 14, 2024
1 parent 8c59419 commit 707d9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/styling/lib/cs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function wrapProperty<T>(value: T): T {
// Handle the case where the value is a variable without the `var()` wrapping function. It happens
// enough that it makes sense to automatically wrap.
if (typeof value === 'string') {
return maybeWrapCSSVariables(value) as any as T;
return maybeWrapCSSVariables(value) as T;
}
return value;
}
Expand Down

0 comments on commit 707d9c3

Please sign in to comment.