Add export keyword to fix tsc error