import type * as d from '../../../declarations' ; import ts from 'typescript' ; export const addNativeElementGetter = ( classMembers , cmp ) => { if ( cmp . elementRef ) { classMembers . push ( ts . createGetAccessor ( undefined , undefined , cmp . elementRef , [ ] , undefined , ts . createBlock ( [ ts . createReturn ( ts . createThis ( ) ) ] ) ) ) ; } } ;