Skip to main content
Module

x/ts_morph/ts_morph.d.ts>Directory#moveToDirectory

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

Moves the directory to a subdirectory of the specified directory.

Parameters

dirPathOrDirectory: string | Directory

Directory path or directory object to move the directory to.

optional
options: DirectoryMoveOptions

Options for moving.