Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/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.1/cli/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.