import { includeFile } from './file-handlers' ; import type { EtaConfig } from './config' ; interface GenericData { [ index ] : any ; } /**
 * Called with `includeFile(path, data)`
 */ export function includeFileHelper ( this , path , data ) { const templateAndConfig = includeFile ( path , this ) ; return templateAndConfig [ 0 ] ( data , templateAndConfig [ 1 ] ) ; }