1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-03 08:35:29 +02:00
joplin/readme/news/20210413-091132.md

14 lines
957 B
Markdown
Raw Normal View History

---
created: 2021-04-13T09:11:32.000+00:00
source_url: https://www.patreon.com/posts/getting-close-to-49973882
---
2021-12-17 16:35:26 +02:00
# 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)
2021-12-17 16:35:26 +02:00
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.