mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-17 21:09:09 -05:00
Make getSupportedCodeFixes on LS so it can be proxied by plugins (#51769)
Fixes #28966
This commit is contained in:
@@ -61,7 +61,7 @@ export function registerCodeFix(reg: CodeFixRegistration) {
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
export function getSupportedErrorCodes(): string[] {
|
||||
export function getSupportedErrorCodes(): readonly string[] {
|
||||
return arrayFrom(errorCodeToFixes.keys());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user