Closed tmkn closed 3 years ago
This PR includes some code cleanup
passport-strategy
MagicLoginStrategy
class
declare class
.bind(this)
Overall this removes around 20 lines of unnecessary typings, however I didn't test the changes with a working project. Tests pass though.
This PR includes some code cleanup
passport-strategy
dependency as it doesn't provide anything usefulMagicLoginStrategy
to use theclass
keyword for better type safety (nodeclare class
needed).bind(this)
and TypeScript's constructor assignmentsOverall this removes around 20 lines of unnecessary typings, however I didn't test the changes with a working project. Tests pass though.