import { getUid , getUidString } from './guid' ; const omit = ( obj , arr ) => Object . keys ( obj ) . filter ( k => ! arr . includes ( k ) ) . reduce ( ( acc , key ) => ( ( acc [ key ] = obj [ key ] ) , acc ) , { } as any ) ; const compose = ( ... fns ) => fns . reduce ( ( f , g ) => ( ... args ) => f ( g ( ... args ) ) ) ; const getPrefixCls = ( prefixCls , classStr ) => { if ( ! classStr ) return prefixCls ; return `${ prefixCls }-${ classStr }` ; } ; export { omit , compose , getPrefixCls , getUid , getUidString } ;