Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@21.0.1/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.