Skip to content

Commit

Permalink
Used computed property
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Goldberg committed Feb 23, 2019
1 parent b6f16ff commit b2fc0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/rules/unbound-method.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default util.createRule<Options, MessageIds>({
const checker = parserServices.program.getTypeChecker();

return {
MemberExpression(node) {
[AST_NODE_TYPES.MemberExpression](node: TSESTree.MemberExpression) {
if (isSafeUse(node)) {
return;
}
Expand Down

0 comments on commit b2fc0b9

Please sign in to comment.