Skip to content

Commit

Permalink
fix: make ESLint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Wang Zhongliang committed Mar 16, 2018
1 parent 5eea8aa commit 4196944
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/language-js/printer-estree.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,8 @@ function getTypeScriptMappedTypeModifier(tokenNode, keyword) {
return "+" + keyword;
} else if (tokenNode.type === "TSMinusToken") {
return "-" + keyword;
} else {
return keyword;
}
return keyword;
}

function printPathNoParens(path, options, print, args) {
Expand Down

0 comments on commit 4196944

Please sign in to comment.