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 17ecfe5 commit d2f7764Copy full SHA for d2f7764
scripts/tslint/preferConstRule.ts
@@ -126,7 +126,7 @@ class PreferConstWalker extends Lint.RuleWalker {
126
visitModuleDeclaration(node: ts.ModuleDeclaration) {
127
if (node.body.kind === ts.SyntaxKind.ModuleBlock) {
128
// For some reason module blocks are left out of the visit block traversal
129
- this.visitBlock(node.body as ts.ModuleBlock);
+ this.visitBlock(node.body as any as ts.Block);
130
}
131
super.visitModuleDeclaration(node);
132
0 commit comments