Skip to main content
Module

x/ts_morph/mod.ts>Project#saveSync

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

Synchronously saves all the unsaved source files to the file system and deletes all deleted files.

Remarks: This might be very slow compared to the asynchronous version if there are a lot of files.