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.