Skip to content

Commit a144947

Browse files
committed
fix: typing error
1 parent d49aa23 commit a144947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/className.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function prefixClaName(name: string, prefix: string = APP_PREFIX) {
1313

1414
export function classNames(...args) {
1515
if (isEmpty(args)) return;
16-
let classList: string[] = [];
16+
const classList: string[] = [];
1717
for (const arg of args) {
1818
if (!arg) continue;
1919
const argType = typeof arg;

0 commit comments

Comments
 (0)