We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de06d8 commit 1f1018fCopy full SHA for 1f1018f
src/parser/source/rules/noConstDeclarationInForLoopInit.ts
@@ -4,9 +4,6 @@ import { stripIndent } from '../../../utils/formatters'
4
import { RuleError } from '../../errors'
5
6
export class NoConstDeclarationInForLoopInit extends RuleError<ForStatement> {
7
- constructor(node: ForStatement) {
8
- super(node)
9
- }
10
public explain(): string {
11
return 'Const declaration in init part of for statement is not allowed'
12
}
0 commit comments