[improvement] Cell: tsx (#2771)

This commit is contained in:
neverland
2019-02-17 20:29:49 +08:00
committed by GitHub
parent 890bd72268
commit 34e30aac5e
4 changed files with 52 additions and 17 deletions

View File

@@ -7,8 +7,8 @@
* b(['disabled', 'primary']) // 'button button--disabled button--primary'
*/
type Mod = string | { [key: string]: any };
type Mods = Mod | Mod[];
export type Mod = string | { [key: string]: any };
export type Mods = Mod | Mod[];
const ELEMENT = '__';
const MODS = '--';