/** * bem helper * b() // 'button' * b('text') // 'button__text' * b('text', 'disabled') // 'button__text--disabled' * b(['disabled', 'primary']) // 'button--disabled button--primary' * * https://github.com/youzan/vant/blob/dev/packages/utils/use/bem.ts */ interface Bem { (el?: string): string; (el: string, mods: string | (string | undefined)[]): string; (mods: (string | undefined)[]): string; } declare const bem: (name: string) => Bem; export default bem; /** * test */