PathResolver interface
Interface for resolving and transforming paths. Implementations of this interface define how specific path patterns should be transformed into other formats or namespaces.
Methods
| transform |
Transforms the given path into a new format or namespace. |
Method Details
transformPath(string)
Transforms the given path into a new format or namespace.
function transformPath(path: string): string
Parameters
- path
-
string
The path to inspect and transform.
Returns
string
The transformed path.