exporting functions with ts export.