classix 2.1.40 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classix.d.ts +3 -3
- package/package.json +1 -1
package/dist/classix.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
type
|
|
1
|
+
type ClassName = string | boolean | null | undefined;
|
|
2
2
|
/**
|
|
3
3
|
* Conditionally join classNames into a single string
|
|
4
4
|
* @param {...String} args The expressions to evaluate
|
|
5
5
|
* @returns {String} The joined classNames
|
|
6
6
|
*/
|
|
7
|
-
declare function cx(...args:
|
|
7
|
+
declare function cx(...args: ClassName[]): string;
|
|
8
8
|
|
|
9
|
-
export { cx, cx as default };
|
|
9
|
+
export { type ClassName, cx, cx as default };
|