1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/readme/news/20210413-091132.md
2021-12-17 18:37:01 +01:00

14 lines
957 B
Markdown

---
created: 2021-04-13T09:11:32.000+00:00
source_url: https://www.patreon.com/posts/getting-close-to-49973882
---
# Getting close to being mainly a TypeScript project
Been checking the numbers now and then and I see there will soon be more TypeScript than JavaScript code in the repo:
![](https://raw.githubusercontent.com/laurent22/joplin/dev/Assets/WebsiteAssets/images/news/20210413-091132_0.png)
Probably a good part of the JS code is in the CLI app, which hasn't been updated much. Critical parts of the app are now in TypeScript, including the synchronizer, database and encryption service. Joplin Server is also entirely in TypeScript. Even the database rows are now typed thanks to sql-ts.
So anyway TypeScript has been a big win for the project as it made it possible to refactor and modernise many parts of it in a safe way, and make the code future proof and easier to work with! I expect we should get to over 50% over the next few months.