Skip to main content
Module

x/ts_morph/mod.ts>Project#getDirectoryOrThrow

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method Project.prototype.getDirectoryOrThrow
import { Project } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Gets a directory by the specified path or throws if it doesn't exist.

Parameters

dirPath: string
  • Path to create the directory at.