* Move send-html function and rewrite in typescript * Move getPageFiles and convert to ts * Move getPageFiles and convert to ts (#5841) * Move getPageFiles and convert to ts # Conflicts: # packages/next-server/server/render.js * Fix unit tests