mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
20 lines
384 B
TypeScript
20 lines
384 B
TypeScript
/**
|
|
* Provides ModuleNameResolver class used for loading files based on device capabilities.
|
|
*/
|
|
|
|
export interface PlatformContext {
|
|
width: number;
|
|
height: number;
|
|
os: string;
|
|
deviceType: string;
|
|
}
|
|
|
|
export function findMatch(
|
|
path: string,
|
|
ext: string,
|
|
candidates: Array<string>,
|
|
context: PlatformContext
|
|
): string;
|
|
|
|
export function stripQualifiers(path: string): string;
|