File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export default class GenericTemplate<T extends string>
4343 * @param {{[x: string]: string} } params Values to replace placeholders in template text.
4444 */
4545 validate ( params : Record < T , string > ) {
46- const missing = [ ] ;
46+ const missing : string [ ] = [ ] ;
4747 for ( const opt of this . requiredParams ) {
4848 if ( Object . prototype . hasOwnProperty . call ( params , opt ) ) {
4949 // check to makesure the option is not empty
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export default class SigninTemplate extends GenericTemplate<RequiredParamsType>
1515Sign into your Codr account with the following link:
1616{link}
1717
18- If you did not attempt to sign in, disragard this email.` . replace ( / \n / g, `<br />` ) ;
18+ If you did not attempt to sign in, disregard this email.` . replace ( / \n / g, `<br />` ) ;
1919
2020 super ( template , subject , requiredParams ) ;
2121 }
You can’t perform that action at this time.
0 commit comments