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
We should replace all the hardcoded values in each type guard function (isAwaitExpression, isIdentifier, and so on) for the corresponding values from that enum
)
Closes#203
* refactor(node-utils): use the `AST_NODE_TYPES` enum in type checks
Signed-off-by: Josh Kelly <josh@codecog.dev>
* chore(formatting): prettier auto fixes
Signed-off-by: Josh Kelly <josh@codecog.dev>
* chore(eslint): fix outstanding lint errors
Signed-off-by: Josh Kelly <josh@codecog.dev>
I found this
enum
which contains all the types we've been hardcoding in the type guards in node-utils.tsThe import for that enum
We should replace all the hardcoded values in each type guard function (
isAwaitExpression
,isIdentifier
, and so on) for the corresponding values from that enumOriginally posted in #201 (comment)
The text was updated successfully, but these errors were encountered: