1 | import { CodeFixAction } from "typescript/lib/tsserverlibrary";
|
2 | export interface CodeFixRegistration {
|
3 | errorCodes: readonly number[];
|
4 | replaceCodeActions: (codeFixActions: readonly CodeFixAction[]) => void;
|
5 | }
|
6 | export declare const errorCodeToFixes: Map<number, Pick<CodeFixRegistration, "replaceCodeActions">[]>;
|
7 | export declare function registerCodeFix(reg: CodeFixRegistration): void;
|