@gibraltarsoftware/loupe-typescript
Version:
Loupe Agent for Web clients
24 lines (23 loc) • 511 B
TypeScript
export interface ILocalPlatform {
size: {
width: number;
height: number;
};
description?: string;
layout?: string;
manufacturer?: string;
name?: string;
prerelease?: string;
product?: string;
ua?: string;
version?: string;
os?: OperatingSystem;
parse(ua?: object | string): ILocalPlatform;
toString(): string;
}
export interface OperatingSystem {
architecture?: number;
family?: string;
version?: string;
toString(): string;
}