Module

x/ts_morph/mod.ts>SourceFile#refreshFromFileSystemSync

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method SourceFile.prototype.refreshFromFileSystemSync
import { SourceFile } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts";

Synchronously refreshes the source file from the file system.

WARNING: When updating from the file system, this will "forget" any previously navigated nodes.

Returns

What action ended up taking place.