fix dependencies, tests, and clean code
Merging this would fix any project using typescript 5.1: https://github.com/microsoft/TypeScript/issues/54542
The dependency on @types/lodash is breaking here
@medikoo any chance you could look into this? The dependency on @types/lodash makes typescript updates very fragile
@perrin4869 thanks for heads-up, yet I'm no longer at Serverless Inc., and I don't have maintenance rights to push anything forward. AFAIK @Danwakeem takes care of handling contributions now.
maybe @czubocha or @skierkowski can help here? would alleviate a lot of pain when typescript 5.3 is released 😅