Skip to content

Commit d98aac7

Browse files
committed
Please linter, remove unused arg
1 parent 66414ce commit d98aac7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 5.32.0 (2017-11-22)
2+
3+
4+
15
## 5.31.0 (2017-10-20)
26

37
### Bug fixes

mode/javascript/javascript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) {
566566
if (value == "?") return cont(maybetype);
567567
}
568568
}
569-
function mayberettype(type, value) {
569+
function mayberettype(type) {
570570
if (isTS && type == ":") {
571571
if (cx.stream.match(/^\s*\w+\s+is\b/, false)) return cont(expression, isKW, typeexpr)
572572
else return cont(typeexpr)

0 commit comments

Comments
 (0)