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.
Go to Latest
interface Deno.RemoveOptions
import { type Deno } from "https://deno.land/x/deno@v1.28.3/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

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