mock-aws-s3
mock-aws-s3 copied to clipboard
[WIP] Refactor code to TypeScript
Introduction
This PR refactors code to TypeScript. JavaScript files have been transformed to TypeScript, and testing is done with Jest instead of Grunt, which is deprecated. With TypeScript we can also use existing types from the AWS SDK, so the functions of the library have the "same" API as the AWS SDK would have.
The main goal of this PR is to keep backwards compatibility. The promisify implementation is still in progress.
TL;DR
- TypeScript 4.0.3
- Test runner is now Jest
- Use native AWS SDK types in the library functions
- Upgrade project dependencies