payload icon indicating copy to clipboard operation
payload copied to clipboard

chore(auth/types): remove undefined from forgot password mail types

Open Sjoertjuh opened this issue 1 year ago • 0 comments

Description

This fixes a problem I had where the argument types of forgotPassword.generateEmailSubject and forgotPassword.generateEmailHTML can be undefined, which is not needed as the methods are never called without the arguments. This causes a lot of checks to be needed in a typescript project, which aren't really needed.

  • [x] I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

  • [x] Chore (non-breaking change which does not add functionality)

Checklist:

  • [x] I have added tests that prove my fix is effective or that my feature works (none)
  • [x] Existing test suite passes locally with my changes
  • [x] I have made corresponding changes to the documentation (none)

Sjoertjuh avatar Mar 25 '24 13:03 Sjoertjuh