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

x/ts_morph/common/mod.ts>RuntimePath

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface RuntimePath
import { type RuntimePath } from "https://deno.land/x/ts_morph@18.0.0/common/mod.ts";

Methods

join(...paths: string[]): string

Joins the paths.

normalize(path: string): string

Normalizes the provided path.

relative(from: string, to: string): string

Returns the relative path from from to to.