method Directory.prototype.getRelativePathToimport { Directory } from "https://dotland.deno.dev/x/ts_morph@22.0.0/ts_morph.d.ts"; getRelativePathTo(fileOrDirPath: string): stringGets the relative path to the specified path. getRelativePathTo(sourceFile: SourceFile): stringGets the relative path to another source file. getRelativePathTo(directory: Directory): stringGets the relative path to another directory. Gets the relative path to the specified path. ParametersfileOrDirPath: string The file or directory path. ReturnsstringGets the relative path to another source file. ParameterssourceFile: SourceFile Source file. ReturnsstringGets the relative path to another directory. Parametersdirectory: Directory Directory. Returnsstring