Skip to content

Commit

Permalink
Fix linter error by changing return type to boolean.
Browse files Browse the repository at this point in the history
Reviewed by @tolmasky.
  • Loading branch information
tolmasky committed Jan 14, 2022
1 parent 6e475c5 commit f9d7d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-parser/src/parser/lval.js
Expand Up @@ -632,7 +632,7 @@ export default class LValParser extends NodeUtils {
}
}

checkCommaAfterRest(close: $Values<typeof charCodes>): void {
checkCommaAfterRest(close: $Values<typeof charCodes>): boolean {
if (!this.match(tt.comma)) {
return false;
}
Expand Down

0 comments on commit f9d7d96

Please sign in to comment.