This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Add rule: No optional parameter in selectors #65
Labels
Comments
Thanks a lot! Great finding! The idea is thus forbid it by rule as a extension of https://github.com/productboardlabs/tslint-pb#selectors-format Is it something what makes sense for you as well @Aldredcz? |
Yea, definitely :) |
Related: https://github.com/productboard/pb-frontend/pull/7480#pullrequestreview-385376735
|
Aldredcz
added a commit
that referenced
this issue
Apr 1, 2020
Aldredcz
added a commit
that referenced
this issue
Apr 1, 2020
Aldredcz
added a commit
that referenced
this issue
Apr 2, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Selectors containing optional parameter i.e.:
hello?: string
throws an error.It happens when memoized function was called with a different number of parameters than currently called instance.
The text was updated successfully, but these errors were encountered: