Skip to main content
Module

x/steam_trader/types/protobuf.d.ts>Root#resolvePath

https://deno.land/x/steam_trader
Latest
method Root.prototype.resolvePath
import { Root } from "https://deno.land/x/steam_trader@v0.4.0/types/protobuf.d.ts";

Resolves the path of an imported file, relative to the importing origin. This method exists so you can override it with your own logic in case your imports are scattered over multiple directories.

Parameters

origin: string

The file name of the importing file

target: string

The file name being imported

Returns

(string | null)

Resolved path to target or null to skip the file