Skip to main content
Module

x/ts_morph/mod.ts>SourceFile#refreshFromFileSystem

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

Refresh 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.