import { getStaticValue } from '../transform-utils' ; import ts from 'typescript' ; export const parseStaticElementRef = ( staticMembers ) => { const parsedElementRef = getStaticValue ( staticMembers , 'elementRef' ) ; if ( typeof parsedElementRef === 'string' ) { return parsedElementRef ; } return null ; } ;