Skip to main content
Module

x/ts_morph/mod.ts>CodeFixAction

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class CodeFixAction
extends CodeAction<ts.CodeFixAction>
import { CodeFixAction } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Represents a code fix action.

Methods

getFixAllDescription(): string | undefined

Gets the description of the code fix when fixing everything.

getFixId(): { } | undefined

If present, one may call 'getCombinedCodeFix' with this fixId. This may be omitted to indicate that the code fix can't be applied in a group.

getFixName(): string

Short name to identify the fix, for use by telemetry.