waldothedeveloper / lullabyhouse

At Lullaby House, we provide a wide range of cleaning services to help you keep your home clean and tidy.
Other
1 stars 0 forks source link

(JS-0045) Inconsistent return values of function #125

Open waldothedeveloper opened 1 year ago

waldothedeveloper commented 1 year ago

Description

Unlike statically-typed languages which enforce a function to return a typed value, JavaScript allows different code paths in a function to return different types of values.

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/waldothedeveloper/lullabyhouse/issue/JS-0045/occurrences/

waldothedeveloper commented 1 year ago

Not sure what is being needed here. This looks fine to me.