Skip to content

Commit db86ef2

Browse files
committed
fix: remove the Symbol parameter type
1 parent 8b258de commit db86ef2

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
@@ -7,6 +7,6 @@ import { APP_PREFIX } from 'mo/common/const';
77
* @param name Default class name
88
* @param prefix The prefix of class name you want to append
99
*/
10-
export function prefixClaName(name: string | Symbol, prefix: string | Symbol = APP_PREFIX ) {
10+
export function prefixClaName(name: string, prefix: string = APP_PREFIX ) {
1111
return name ? `${prefix}-${name}` : '';
1212
}

0 commit comments

Comments
 (0)