Skip to main content
Module

x/deno2node/src/deps.deno.ts>FileTextChanges#applyChanges

Compile your Deno project to run on Node.js.
Go to Latest
method FileTextChanges.prototype.applyChanges
import { FileTextChanges } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.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