Skip to content

Commit 1f1018f

Browse files
committed
Remove useless constructor
1 parent 2de06d8 commit 1f1018f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/parser/source/rules/noConstDeclarationInForLoopInit.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { stripIndent } from '../../../utils/formatters'
44
import { RuleError } from '../../errors'
55

66
export class NoConstDeclarationInForLoopInit extends RuleError<ForStatement> {
7-
constructor(node: ForStatement) {
8-
super(node)
9-
}
107
public explain(): string {
118
return 'Const declaration in init part of for statement is not allowed'
129
}

0 commit comments

Comments
 (0)