Skip to main content
Module

x/ts_morph/mod.ts>CodeAction

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

Represents a code action.

Constructors

new
protected
CodeAction()

Type Parameters

optional
TCompilerObject extends ts.CodeAction = ts.CodeAction

Properties

readonly
compilerObject: TCompilerObject

Gets the compiler object.

Methods

getChanges(): FileTextChanges[]

Text changes to apply to each file as part of the code action.

getDescription(): string

Description of the code action.