refactor(compiler): ensure compatibility with noImplicitOverride (#42512)

Adds the `override` keyword to the `compiler` sources to ensure
compatibility with `noImplicitOverride`.

PR Close #42512
This commit is contained in:
Paul Gschwendtner
2021-06-07 17:10:51 +02:00
committed by Andrew Kushnir
parent c7d20639c6
commit 96c93260a2
37 changed files with 191 additions and 185 deletions
@@ -231,7 +231,7 @@ export function unparseWithSpan(
]);
}
visit(ast: AST, unparsedList: UnparsedWithSpan[]) {
override visit(ast: AST, unparsedList: UnparsedWithSpan[]) {
this.recordUnparsed(ast, 'span', unparsedList);
if (ast.hasOwnProperty('nameSpan')) {
this.recordUnparsed(ast, 'nameSpan', unparsedList);