import { name } from './config' ; import { create } from './create' ; export const parse = ( context ) : void => { const elements = [ ... context . querySelectorAll < HTMLElement > ( `.${ name }` ) ] ; elements . map ( ( element ) => create ( element ) ) ; } ;