Skip to main content
Module

x/ts_morph/ts_morph.d.ts>FileTextChanges#applyChanges

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method FileTextChanges.prototype.applyChanges
import { FileTextChanges } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Applies the text changes to the file. This modifies and possibly creates a new source file.

WARNING: This will forget any previously navigated descendant nodes in the source file.

Parameters

  • Options for applying the text changes to the file.

Returns

this | undefined