mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
18 lines
440 B
TypeScript
18 lines
440 B
TypeScript
/**
|
|
* Provides ModuleNameResolver class used for loading files based on device capabilities.
|
|
*/
|
|
|
|
/**
|
|
* Used with qualifier matchers and module resolution
|
|
*/
|
|
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;
|