Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit e399bad

Browse files
committed
fix(types): fix types
1 parent 1260424 commit e399bad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/_internal/types/common/css-values.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type {
1010
import type { CSSVariableValue } from './css-variables';
1111

1212
type CSSArithmeticOperations = '+' | '-' | '*' | '/';
13-
export type CSSCalcExpressionFunctioin = `calc(${string} ${CSSArithmeticOperations} ${string})`;
13+
export type CSSCalcExpressionFunction = `calc(${string} ${CSSArithmeticOperations} ${string})`;
1414
export type CSSColumnsValue = `${CSSNumericValue | number}` | 'auto' | `${CSSNumericValue | number} auto` | `auto ${CSSNumericValue | number}` | 'auto auto';
1515
export type CSSLengthSubValue = 'none' | 'max-content' | 'min-content' | 'fit-content' | `fit-content(${number}${CSSNumericValue})`;
1616
export type CSSFontSizeSubValue = 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'math';
@@ -23,7 +23,7 @@ type CSSUnitsAndGlobalValue =
2323
| CSSViewportUnitValue
2424
| CSSRespectUnitValue
2525
| CSSPercentageUnitValue
26-
| CSSCalcExpressionFunctioin
26+
| CSSCalcExpressionFunction
2727
| CSSVariableValue
2828
| CSSGlobalValue;
2929

src/_internal/types/custom/custom-css-properties.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type {
2-
CSSCalcExpressionFunctioin,
2+
CSSCalcExpressionFunction,
33
CSSColumnsValue,
44
CSSLengthSubValue,
55
CSSFontSizeSubValue,
@@ -48,7 +48,7 @@ interface CustomExtendProperties extends BaseCSSProperties {
4848
minWidth?: CSSNumericValue | CSSLengthSubValue | 'auto';
4949
minHeight?: CSSNumericValue | CSSLengthSubValue | 'auto';
5050
flexBasis?: CSSNumericValue | 'auto';
51-
gap?: CSSNumericValue | CSSCalcExpressionFunctioin;
51+
gap?: CSSNumericValue | CSSCalcExpressionFunction;
5252
rowGap?: CSSNumericValue;
5353
columnGap?: CSSNumericValue | 'normal';
5454
columns?: CSSColumnsValue;

0 commit comments

Comments
 (0)