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:
committed by
Andrew Kushnir
parent
c7d20639c6
commit
96c93260a2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user