Add type to isEmailUsed in Avoid negative conditionals (#36)

add string type to email argument in `isEmailUsed`
This commit is contained in:
Jacob Galam 2020-05-25 09:47:24 +03:00 committed by GitHub
parent 8f52daaea4
commit c70fb6fd8a
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 {
// ...
}