Skip to main content
Module

x/deno2node/src/deps.deno.ts>SourceFile#delete

Compile your Deno project to run on Node.js.
Go to Latest
method SourceFile.prototype.delete
import { SourceFile } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Queues a deletion of the file to the file system.

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