mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
17 lines
574 B
TypeScript
17 lines
574 B
TypeScript
/**
|
|
* Provides FileNameResolver class used for loading files based on device capabilities.
|
|
* @module "file-system/file-name-resolver"
|
|
*/ /** */
|
|
|
|
import { PlatformContext } from "../../module-name-resolver/qualifier-matcher";
|
|
export { PlatformContext } from "../../module-name-resolver/qualifier-matcher";
|
|
|
|
export class FileNameResolver {
|
|
constructor(context: PlatformContext);
|
|
resolveFileName(path: string, ext: string): string;
|
|
clearCache(): void;
|
|
}
|
|
|
|
export function resolveFileName(path: string, ext: string): string;
|
|
export function clearCache(): void;
|