You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any particular reason for isNil not having a type guard? isUndefined on the other side has one.
I've stumbled across it repeatedly because my IDE prefers importing nest over lodash. Lodash, on the other hand, has a guard. In a project with strict: true it is a little annoying.
Is there any particular reason for
isNil
not having a type guard?isUndefined
on the other side has one.I've stumbled across it repeatedly because my IDE prefers importing
nest
overlodash
. Lodash, on the other hand, has a guard. In a project withstrict: true
it is a little annoying.https://github.com/nestjs/nest/blob/master/packages/common/utils/shared.utils.ts
Current:
Wanted:
The text was updated successfully, but these errors were encountered: