Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ts_morph/ts_morph.d.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@16.0.0/ts_morph.d.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.