Closed DuncanMacWeb closed 4 years ago
Looks good! I personally prefer async/await over using Promises directly - but it's just a pet peeve :) Keep 'em coming! Adding you as a maintainer now
Thanks! :) I also prefer async/await but couldn’t work out how to use it in that context—feel free to fix!
As preparation to make a PR for #2, I’ve upgraded TypeScript and added eslint, prettier and
jest-environment-jsdom-global
to allow tests to modifywindow.location
.Hope this looks good to you but happy to make changes!