You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
433 B
12 lines
433 B
export interface ResolveFileResult { |
|
filename: string; |
|
relativeTo: string | undefined; |
|
found: boolean; |
|
} |
|
/** |
|
* Resolve filename to absolute paths. |
|
* It tries to look for local files as well as node_modules |
|
* @param filename an absolute path, relative path, `~` path, or a node_module. |
|
* @param relativeTo absolute path |
|
*/ |
|
export declare function resolveFile(filename: string, relativeTo: string): ResolveFileResult;
|
|
|