Files
NativeScript/nativescript-core/module-name-resolver/qualifier-matcher/index.d.ts
Nathan Walker 6336eac4b5 chore: cleanup
2020-07-11 11:03:37 -07:00

15 lines
382 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;