CMU-17313Q / NodeBB-f23

GNU General Public License v3.0
0 stars 39 forks source link

Converting /src/password.js from JS to TS #61

Open ssaloos opened 1 year ago

ssaloos commented 1 year ago

Resolves #26 I translated the file src/password.js into typescript. In order to do so, I made use of interfaces for hashing and comparing messages. I also had to create different constants and state their related types to pass lint. I also made use of Promise returns and callbacks throughout the code, while also using async and await all around. I faced the timeout issue and am not entirely sure why.