Add type to isEmailUsed in Avoid negative conditionals

add string type to email argument in isEmailUsed
This commit is contained in:
Jacob Galam 2020-05-20 14:39:27 +03:00 committed by GitHub
parent 8f52daaea4
commit b20355a7ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -874,7 +874,7 @@ if (isEmailNotUsed(email)) {
**Good:**
```ts
function isEmailUsed(email): boolean {
function isEmailUsed(email: string): boolean {
// ...
}