interface LintQuickFixReplacement {
    description: string;
    loc: [
        startLine: number,
        startColumn: number,
        endLine: number,
        endColumn: number,
        f?: string,
    ];
    replacement: string;
    type: "replace";
}

Hierarchy (View Summary)

Hierarchy-Diagram

UML class diagram of LintQuickFixReplacement

Properties

description: string

A short, human-readable description of the quick fix.

loc: [
    startLine: number,
    startColumn: number,
    endLine: number,
    endColumn: number,
    f?: string,
]

The range of the text that should be replaced.

replacement: string

The text that should replace the given range.

type: "replace"

The type of the quick fix.