Coding styles
Last updated
Was this helpful?
Last updated
Was this helpful?
Always add a return type to a function definition.
This is something that the compiler is able to figure out even we don't add a return type. However, by adding the return type, it's more human-readable.
Remove unused import statements
Remove unused variables, arguments.
Always format code with prettier
Catch error
from async function