Installation
npm install --save @types/detect-inapp
Summary
This package contains type definitions for detect-inapp (https://github.com/f2etw/detect-inapp#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/detect-inapp.
index.d.ts
declare class InApp {
ua: string;
readonly browser: string;
readonly isMobile: boolean;
readonly isDesktop: boolean;
readonly isInApp: boolean;
constructor(useragent: string);
}
export = InApp;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Johan Möller.