This commit simply transitions the files from js to ts to make the commit history clearer afterwards. Expected not to type-check.