@types/cordova-plugin-device-name
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Installation

npm install --save @types/cordova-plugin-device-name

Summary

This package contains type definitions for cordova-plugin-device-name (https://www.npmjs.com/package/cordova-plugin-device-name).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cordova-plugin-device-name.

index.d.ts

//
// Licensed under the MIT license.

interface CordovaPlugins {
    /**
     * cordova-plugin-device-name interface
     */
    deviceName: CordovaPluginDeviceName.CordovaPluginDeviceName;
}

/**
 * Keep the type global namespace clean by using a module
 */
declare namespace CordovaPluginDeviceName {
    interface CordovaPluginDeviceName {
        /**
         * User-friendly name of the device.
         * @example cordova.plugins.deviceName.name // e.g: Larry's Android
         */
        name: string;
    }
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Larry Bahr.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/cordova-plugin-device-name

Weekly Downloads

161

Version

1.1.4

License

MIT

Unpacked Size

3.73 kB

Total Files

5

Last publish

Collaborators

  • types