Use related spans for "implement abstract class" errors (#48030)

Co-authored-by: Gabriela Araujo Britto <gabrielaa@microsoft.com>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
This commit is contained in:
Iván
2023-03-28 11:54:36 -03:00
committed by GitHub
parent 647c587e46
commit 2b57a88b72
13 changed files with 86 additions and 59 deletions

View File

@@ -26,8 +26,7 @@ import {
} from "../_namespaces/ts.codefix";
const errorCodes = [
Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,
Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code,
Diagnostics.Non_abstract_class_0_does_not_implement_all_abstract_members_of_1.code,
];
const fixId = "fixClassDoesntImplementInheritedAbstractMember";
registerCodeFix({