@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
12 lines (11 loc) • 364 B
TypeScript
/**
* Used with qualifier matchers and module resolution
*/
export interface PlatformContext {
width: number;
height: number;
os: string;
deviceType: string;
}
export declare function stripQualifiers(path: string): string;
export declare function findMatch(path: string, ext: string, candidates: Array<string>, context: PlatformContext): string;