Skip to content

Commit

Permalink
fix: remove the Symbol parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Oct 19, 2020
1 parent 8b258de commit db86ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/className.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ import { APP_PREFIX } from 'mo/common/const';
* @param name Default class name
* @param prefix The prefix of class name you want to append
*/
export function prefixClaName(name: string | Symbol, prefix: string | Symbol = APP_PREFIX ) {
export function prefixClaName(name: string, prefix: string = APP_PREFIX ) {
return name ? `${prefix}-${name}` : '';
}

0 comments on commit db86ef2

Please sign in to comment.