whatsapp-api
whatsapp-api copied to clipboard
refactor: recreate project using TypeScript
Description
Describe the changes made by this pull request.
This PR recreates the entire source code into a TypeScript project.
add:
- Additional configuration files.
modify:
- All JS files were converted into TS files with ESM.
Related issues
List related issues (if any) and/or @mentions of the person or team responsible for reviewing proposed changes (left blank if not applicable). List by using - [ ] and the issue number, e.g.
- [ ] #1or- [x] #1if the issue is closed/solved.
- [x] None
Testing
Help me how can I test or look at the changes (left blank if not applicable).
- Test files were also converted to TypeScript.
- A configuration file was added for testing with Jest.
Notes
Some additional notes if necessary (left blank if not applicable).
- Requires a better type definition for the functions parameters.
- Some types were added.
Quality Gate passed
Issues
4 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.6% Duplication on New Code
Hi @IvanGodinez21 thanks for your work, it's quite an intense rework! It will take me some time to review, I'm quite busy lately..
Some follow-up questions:
- Have you managed to implement GitHub Action for the testing part?
- Is the swagger generator still working?