import type { $FixMe } from './types' ; const getPropsInCommon = ( a , b ) : ( string | number ) [ ] => { const keysInA = Object . keys ( a ) ; const inCommon = [ ] ; for ( const key of keysInA ) { if ( b . hasOwnProperty ( key ) ) { inCommon . push ( key ) ; } } return inCommon ; } ; export default getPropsInCommon ;