API reference@effx/compilerlift
relative
API reference for @effx/compiler/lift/relative
relative.ts overview
Exports Grouped by Category
utils
relativeModule
The specifier an import in the file from writes for the module to. A bare to is its own specifier.
A path that would have to descend into a directory whose name no module key records (from is further
above the base than to) cannot be written, and is an error naming both keys.
Signature
declare const relativeModule: (from: string, to: string) => Result.Result<string, string>