put typescript files in src/interfaces instead