Make getSupportedCodeFixes on LS so it can be proxied by plugins (#51769)

Fixes #28966
This commit is contained in:
Sheetal Nandi
2022-12-08 09:52:25 -08:00
committed by GitHub
parent 52203dbc46
commit 3716ffe748
11 changed files with 4117 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ export function registerCodeFix(reg: CodeFixRegistration) {
}
/** @internal */
export function getSupportedErrorCodes(): string[] {
export function getSupportedErrorCodes(): readonly string[] {
return arrayFrom(errorCodeToFixes.keys());
}