* Rename render-frontend file to tsx * Add types to renderFrontend * Reorder code * Use PascalCase for types * add generics * fix TS error * restore interface Co-authored-by: Luigi <gigitux@gmail.com>