mirror of
https://github.com/cs01/termpair.git
synced 2026-04-26 21:15:55 +03:00
[PR #61] [MERGED] convert JavaScript to TypeScript #68
Labels
No labels
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termpair#68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cs01/termpair/pull/61
Author: @cs01
Created: 7/11/2021
Status: ✅ Merged
Merged: 7/11/2021
Merged by: @cs01
Base:
master← Head:cs01/js-to-typescript📝 Commits (2)
4e1d9e1use typescript89af89fmigrate to typescript📊 Changes
12 files changed (+202 additions, -37 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
termpair/frontend_src/package.json(+5 -0)➖
termpair/frontend_src/src/App.test.js(+0 -9)➕
termpair/frontend_src/src/App.test.tsx(+9 -0)📝
termpair/frontend_src/src/App.tsx(+36 -14)📝
termpair/frontend_src/src/encryption.tsx(+14 -8)➕
termpair/frontend_src/src/global.d.ts(+1 -0)📝
termpair/frontend_src/src/index.tsx(+0 -0)➕
termpair/frontend_src/src/react-app-env.d.ts(+1 -0)📝
termpair/frontend_src/src/serviceWorker.ts(+3 -3)➕
termpair/frontend_src/tsconfig.json(+25 -0)📝
termpair/frontend_src/yarn.lock(+107 -3)📄 Description
CHANGELOG.mdSummary of changes
Convert JavaScript code to TypeScript:
yarn add typescript @types/node @types/react @types/react-dom @types/jestThis was actually a relatively painless experience. The tooling around javscript/typescript is getting really nice!
Test plan
Tested by running
closes #60
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.