Skip to main content
Module

x/ts_morph/mod.ts>Directory#delete

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

Queues a deletion of the directory to the file system.

The directory will be deleted when calling ast.save(). If you wish to delete the file immediately, then use deleteImmediately().