Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.RemoveOptions

A modern runtime for JavaScript and TypeScript.
Latest
interface Deno.RemoveOptions
import { type Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.ns.d.ts";
const { RemoveOptions } = Deno;

Options which can be set when using Deno.remove and Deno.removeSync.

Properties

optional
recursive: boolean = false

If set to true, path will be removed even if it's a non-empty directory.