@types/detect-inapp
TypeScript icon, indicating that this package has built-in type declarations

1.4.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/detect-inapp

Weekly Downloads

781

Version

1.4.3

License

MIT

Unpacked Size

3.01 kB

Total Files

5

Last publish

Collaborators

  • types